This application is the cms and api for the easy event register app
-
Ruby version
ruby-2.5.3
-
Configuration
We use Rails Credentials for all the environment configuration.
First ask the administrator for the master key.
Put the master key in the file
master.key
underapp/config/
. (You can create one if doesn't exists).To add or edit the credentials run:
EDITOR=vim bin/rails credentials:edit
edit or remove the credentials as you wish.
-
Database creation.
-
Run the migrations:
$ rails db:migrate
-
-
Database initialization
- For development, run the seeds
$ rails db:seed
- For development, run the seeds
-
Run it
Run the local server:
$ rails s
go to
localhost:3000/admin
and log in with the following credentialsusername: admin@example.com password: password
Enjoy it!