Skip to content

compassionprojects/nvclearning-admin

Repository files navigation

Tech stack

  • 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

Development

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

Migrations

To add a migration

yarn run knex migrate:make migration_name

To run the migrations run

yarn run knex migrate:latest

Docker

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"

Deployment

We use fly.io to deploy using github actions. You may get access from @madhums

About

Admin interface to manage courses, workshops and VIT's

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •