https://github.com/ekylibre/serious
Serious Game with Ekylibre (Mirror)
https://github.com/ekylibre/serious
Last synced: 2 months ago
JSON representation
Serious Game with Ekylibre (Mirror)
- Host: GitHub
- URL: https://github.com/ekylibre/serious
- Owner: ekylibre
- Created: 2015-10-02T12:54:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-13T12:59:18.000Z (over 9 years ago)
- Last Synced: 2025-01-28T01:46:39.151Z (4 months ago)
- Language: Ruby
- Homepage: https://forge.ekylibre.com/projects/serious
- Size: 4.5 MB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
== README
=== Ruby version
Ruby 2.2.1 is needed.
+rbenv+ (https://github.com/sstephenson/rbenv) is recommended to manage many ruby versions.=== System dependencies
For now, the system uses PostgreSQL database (with PostGIS)
sudo apt-get install graphicsmagick postgresql postgresql-9.4-postgis-2.1 bind nginx
=== Configuration
All default seed data are in +db/+
* Scenarios
* Historics
* Games
* Users (samples)=== Development installation
An ekylibre app must be installed alongside Serious to get working app.
In Ekylibre, you have to install plugin seriously:
cd ekylibre/
mkdir -p plugins
cd plugins
git clone [email protected]:seriously.git=== Slave configuration
Adds config/slave.yml file to configure access to ekylibre:
development:
path: ../serious-ekylibre
master_url: http://game.serious.lan:3000
# domain: serious.lan
# port: 80
# protocol: http=== Database creation and initialization
To initialize DB, it's possible to run this command:
rake db:drop db:create db:migrate db:seed
or in less words:
rake db:rebuild
The seeds are generated from existing scenarios, historics and games soted in +db/+.
=== How to run the test suite
rake test
=== Services (job queues, cache servers, search engines, etc.)
Launch ekylibre:
foreman start
=== Deployment instructions
TODO
Please feel free to use a different markup language if you do not plan to run
rake doc:app.