- Node.js v16.5.0 (Use asdf to manage node versions. We already include a
.tool_versions
file which supports asdf) - KeystoneJS
- Postgres with GraphQL
npm i yarn@1.22.21 -g
yarn install
cp .env.example .env
# update ADMIN_EMAIL, ADMIN_PASSWORD and DO_BUCKET env variables
yarn run dev
Then open localhost:3000/admin.
To create the initial admin user, you can run the seed migration
yarn run knex seed:run
To add a migration
yarn run knex migrate:make migration_name
To run the migrations run
yarn run knex migrate:latest
Not tested currently
or you may also use docker for development by running
docker-compose up -d
Then visit localhost:3000
Setup an alias for docker-compose in your ~/.bashrc
file
alias dc="docker-compose"
We use fly.io to deploy using github actions. You may get access from @madhums