Concerto (fresh) is an experiment in radically simplifying Concerto 2 to enable long-term support and easy maintance.
There are two ways to install Concerto: using Docker (recommended) or from the Git repository.
The easiest way to get Concerto running is with Docker.
docker pull ghcr.io/bamnet/concerto:latest
# If you need to generate a secret
docker run --rm ghcr.io/bamnet/concerto:latest bin/rails secret
docker run -d \
-p 80:80 \
-e SECRET_KEY_BASE=<your-generated-secret> \
-v concerto_storage:/rails/storage \
--name concerto \
ghcr.io/bamnet/concerto:latestOpen your browser and navigate to http://localhost.
| Environment Variable | Description | Default |
|---|---|---|
SECRET_KEY_BASE |
Secret key for encrypting sessions (required) | - |
RAILS_MAX_THREADS |
Maximum number of threads | 5 |
DISABLE_SSL |
Set this to allow non-SSL access | - |
To start a local development server:
bin/devMisc Notes:
- We use ImportMaps to manage JS deps. Add dependencies using a command like
bin/importmap pin @stimulus-components/dropdown - Needs icons? Copy and paste SVG from https://heroicons.com/.
Unit tests:
bin/rails testSystem tests:
bin/rails test:systemFrontend tests:
yarn run vitest