git clone https://github.com/onosendi/audiophile.git
cd audiophile
Create .env
file next to package.json
with the following data:
NEXT_PUBLIC_APP_NAME=audiophile
DB_USER=audiophile
DB_PASSWORD=audiophile
DB_NAME=audiophile
DB_DEBUG=false
npm install
Enter PostgreSQL shell with administrator privileges:
psql postgres
Create database, user, and grant privileges:
create database audiophile;
create user audiophile with encrypted password 'audiophile';
grant all privileges on database audiophile to audiophile;
npx knex migrate:latest
npx knex seed:run
npm run dev