$ bundle install
We are using npm to take care of the frontend packages and sprockets-es6
so that we can use ES6.
$ npm install
$ rails db:create
$ rails db:migrate
$ rails db:seed
$ rails s
There is a application.yml.dist
file in config
directory. Be sure you rename it to application.yml
and then set parameters according to your local environment.
Simply drop
byebug
wherever you want to start debugging and the execution will stop there.
Run all the tests
$ bundle exec rspec spec
Or, run a single test
$ bundle exec rspec /home/drazen/dev/moonlee-website/spec/controllers/booking/artists_controller_spec.rb
rake teaspoon
Tests are also running on each build (Circle CI).
We use Rubocop in order to find code inconsistency. Rubocop runs on every build (Circle CI) but you can also run it locally.
$ rubocop -R -D
rake db:drop db:create db:migrate db:seed songkick:fetch_upcoming_events social:fetch_instagram social:fetch_youtube social:fetch_twitter
Go to localhost:3000\admin
Username: [email protected]
Password: password
$ cap production deploy
- Youtube
- Songkick
- Mailchimp
https://www.moonleerecords.com
https://store.moonleerecords.com
- Development: Dražen Perić
- Design: Antonio Karača