git clone https://github.com/dimitristrechas/skateparks.gitcd skateparks- Get the key files from a team member (
config/credentials/development.key,config/credentials/production.key,config/credentials/test.key) - Copy .env.example to .env and .env.test and fill variables, for RAILS_MASTER_KEY use
config/credentials/development.keyandconfig/credentials/test.keyrespectively bundle installyarnlefthook install(sets up pre-commit hooks)./scripts.sh, select option "Fresh build & start development server" to build the docker containers from scratch- Open browser on
localhost:3002 - Optionally seed the database with "Seed the database" option in
./scripts.sh
MCP integrations in opencode.json use tokens stored in .secrets/:
mkdir .secrets- Add token files (raw token, no extension):
.secrets/github-mcp-token.secrets/linear-token
- Folder is gitignored
./scripts.sh- Select option "Fresh build & start test server" to build the docker containers from scratch
- Select option "Run RSpec tests" to run the specs