Sign inSign up

dymajo/nitro-server

By dymajo

•Updated about 7 years ago

Auto Nitro Server Builds

Image
0

7.2K

dymajo/nitro-server repository overview

⁠Nitro Sync 3

Build Status Maintainability Test Coverage Dependency Status devDependency Status

⁠Configure

  • You'll need PostgreSQL installed - configure the settings in config.js
  • Set a strong JWT secret in config.js

⁠Postgres Docker Sample

This should start Postgres in Docker Nicely, no configuration required in config.js. docker run --name nitro-postgres -p 5432:5432 -e POSTGRES_USER=nitro -e POSTGRES_PASSWORD=secret -d postgres

⁠Running

  • Run npm run migrate to run migrations.
  • Run with npm start. There will be an error if it can't connect to the database.
  • Run npm run migrate:test to run tests. Recommended to make sure everything is working.
  • npm run test will fail if run more than once without redoing migrations.
  • You'll need to pull the Nitro client in order for the server to host it. http://github.com/nitrotasks/nitro⁠

Tag summary

Content type

Image

Digest

Size

357.7 MB

Last updated

about 7 years ago

docker pull dymajo/nitro-server