Words for the Alias (Crocodile) game.
The application simply shows you a card with five random words - you should explain them.
As an administrator, you can add new words and modify existing cards. Visit http://lightwords.ru/admin page.
Use the SECRET_KEY_BASE
variable to set the password for accessing the admin panel.
Install dependencies:
rbenv install
bundle install
yarn install
Set environment variables:
export RAILS_ENV='production'
export RAILS_SERVE_STATIC_FILES='true'
export RAILS_MASTER_KEY='123..'
export SECRET_KEY_BASE='admin-password-123'
Set up the database and start the server:
rails db:setup
rails server
Or run via docker:
docker-compose up