To clone the repository:
git clone https://github.com/IngrdInsight/PastePick-server.gitAfter cloning, navigate to the root directory:
- Install pnpm
- Run
pnpm install - Start a PostgreSQL database and connect to it
- Set the variables in
.envandsrc/database/connection.js - During the initial server run, uncomment the code in
src/database/initialization.jsand import it inserver.jsto initialize the database (do not keep it enabled after the first run) - Run the server
Note
Having issues with Husky? Run npx husky install
Scripts can be found in package.json. Main ones:
pnpm devpnpm start
Bug reports help us improve PastePick.
- Open an issue on GitHub: New Issue
We appreciate all contributions to PastePick!
- Fork the repository
- Create a new branch for your feature or bugfix
- Make your changes
- Submit a pull request