- Fork the project into your own GitHub repo
- Clone the forked project from your GitHub to your local repo
- Set up the project in the local development environment (see below)
- Make changes in the project
- Push changes in the local version
- git add -A
- git commit -m "message explaining the commit"
- git push origin branch-name
- Create a pull request for the main version
For more information, see Working with GIT below.
- Install node and npm (see instructions)
- Use node version
16.18.0
. To install this node version use the package called n. - Run
npm install
in both frontend and keystone folders. If npm complains about dependencies in the frontend folder, usenpm install --legacy-peer-deps
- Set up a local Postgres database (e.g., with the Postgres app) and enter the URL endpoint as the DATABASE_DEV variable in the file ".env" in the keystone folder.
- Go to the keystone folder and run
npm run dev
The server should run on http://localhost:4444 - Go to the frontend folder and run
node server.js
. The frontend should run on http://localhost:3000