CodinGame Puzzle Status (reworked with local database and server-side Ruby/Rails tech)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
tmp
vendor/assets
.gitignore
Dockerfile
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
bash.sh
config.ru
docker-compose.yml
docker-compose.yml.development
docker-compose.yml.production
gem.sh
logs.sh
rails.sh
rake.sh
run-server.sh
sample.env.db
sample.env.web

README.md

README

How to launch for first time :

Require : docker-composer version 1.6

TODO : edit .env.web et .env.db

Run into production :

AILS_ENV=production docker-compose up --force-recreate -d RAILS_ENV=production docker-compose run web rake db:setup

Access to web site, then click on "Seed puzzles"

RAILS_ENV=production ./rails.sh console

ImportLiveData.new.refresh_language_achievement

TODO : merge these two init steps into a simple one