Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Task management app using graphs to represent tasks and resources

License

Notifications You must be signed in to change notification settings

floriandejonckheere/code-red

Repository files navigation

Code Red

Continuous Integration Continuous Deployment

Release Deployment

Code Red is a collaborative project management app, using a graph-based approach to task and resource management.

Set up

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

Migrating

Run database migrations:

rails db:migrate

Development

Use the bin/update script to update your development environment dependencies.

Debugging

To debug the server component in your IDE, start the debug instead of the app container, and connect to localhost:1234.

Testing

Seed the test database before running the test suite:

rails database:seed:production RAILS_ENV=test

Run the test suite:

rspec

Secrets

Repository secrets

Github secrets for release:

Environment secrets

Github secrets for continuous deployment (process):

Releasing

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

License

See LICENSE.md.