The website for the "Programming with Ruby" course in the Faculty of Mathematics and Informatics of the Sofia University. That's a really long way to say "university stuff, all in Bulgarian".
- Ruby 2.0+
- PostgreSQL, preferable 9.0+
- Redis
- ImageMagick or a compatible package (such as GraphicsMagic)
It's a pretty standard Rails application, with the exception of site.yml
. Steps are as follows:
- Clone the repository
- Run
bundle install
- Create a
config/database.yml
based onconfig/database.yml.example
- Create a
config/site.yml
based onconfig/site.yml.example
- Set up the database with
rake db:create:all db:migrate
- Profit!
If you want to get some test data, you can run:
$ rake fake
This will populate the database with random data and give you credentials to log in.
You can run the tests with rake
. However, for completeness' sake:
rake spec cucumber
runs the basic test suiterake spec:languages:python
runs the tests for the Python languagerake spec:languages
runs the tests for all languagesrake spec spec:languages cucumber
runs everything