Code Red is a collaborative project management app, using a graph-based approach to task and resource management.
Use the bin/setup
script or run the following steps manually.
Set up the PostgreSQL database:
rails db:setup
Initialize database seeds:
rails database:seed # Production and development seeds
rails database:seed:production # Production seeds
rails database:seed:development # Development seeds
Run database migrations:
rails db:migrate
Use the bin/update
script to update your development environment dependencies.
To debug the server component in your IDE, start the debug
instead of the app
container, and connect to localhost:1234
.
Seed the test database before running the test suite:
rails database:seed:production RAILS_ENV=test
Run the test suite:
rspec
Github secrets for release:
DOCKER_TOKEN
(needed for Github Container Registry)
Github secrets for continuous deployment (process):
DOCKER_TOKEN
(needed for Github Container Registry)
Update the changelog and bump the version in lib/code_red/version.rb
.
Create a tag for the version and push it to Github.
A Docker image will automatically be built and pushed to the registry.
nano lib/code_red/version.rb
git add lib/code_red/version.rb
git commit -m "Bump version to v1.0.0"
git tag v1.0.0
git push origin master
git push origin v1.0.0
See LICENSE.md.