My CMS for my website.
This won't work out of the box for anyone else, but you're welcome to take a look at the code to see how it works.
- Ruby 3.x
- SQLite3
- Docker (for production deployment)
-
Install dependencies:
bundle install
-
Setup the database:
bin/rails db:prepare
-
Start the development server:
bin/dev
The following environment variables are required for production:
SECRET_KEY_BASE=
To build and run the application using Docker Compose:
docker-compose up --buildUse the provided Dockerfile to build and deploy the application.
For data persistence, you need to mount the following directories:
/rails/storage: For storing uploaded files and assets