Public source code for the Fractal Soft website.
- Ruby
3.3.4 - Rails
8 - PostgreSQL
13
-
Install dependencies:
- Ruby
3.3.4 - PostgreSQL
13
- Ruby
-
Install gems and prepare the database:
bin/setup- Start the development process manager:
bin/devThe app is available at http://localhost:5000.
Use the dedicated development compose file:
docker compose -f docker-compose.dev.yml up --buildThis uses Dockerfile.dev (development image) and avoids production
asset precompile during image build.
The app container runs bin/dev (Rails + asset watchers).
Docker runs bin/dev with FOREMAN_ENV_FILE=/dev/null so container DB
settings are not overridden by local .env defaults.
The app is available at http://localhost:3000.
To stop and remove containers:
docker compose -f docker-compose.dev.yml downDeployments are handled with Fly.io via GitHub Actions.
Use the Deploy to production workflow (workflow_dispatch) to run a
manual deploy, which executes flyctl deploy --remote-only.
bin/rails db:prepare # create/migrate database
bin/rails test # run tests
bin/rubocop # run RuboCop
bin/brakeman # run Brakeman security checks