Code Editor backend
https://editor.raspberrypi.org โ HEALTH ? 99 / Healthy
Code Editor backend
https://editor.raspberrypi.org โ// readme
The editor API is a Rails monolith and is hosted at editor-api.raspberrypi.org. Through the combination of a REST interface and a GraphQL API, it provides mechanisms for:
cancancan gem)Copy the .env.example file into a .env file.
From the project directory build the app using docker:
docker-compose build
Set up the database:
docker compose run --rm api rails db:setup
Start the application and its dependencies via docker:
docker-compose up
There is a dedicated image called dev-container, and the easiest way to use this is to use the override:
cp docker-compose.override.yml.example docker-compose.override.yml
Nowโฆ