Local Setup - OpenSourceFellows/amplify GitHub Wiki
Local Setup
MacOS
Make sure you have Homebrew installed:
Using Homebrew, install
Start Postgres14:
brew services restart postgresql@14
clone repo
navigate into the repo's directory
copy .env.example into new .env file
npm install
npm run db:create
Windows
npm install --save-dev cross-env
Install
Start Postgres14 (https://tableplus.com/blog/2018/10/how-to-start-stop-restart-postgresql-server.html):
pg_ctl -D "C:\Program Files\PostgreSQL\14\data" restart
clone repo
navigate into the repo's directory
copy .env.example into new .env file
npm run db:create