Backend for Event Manager app
- Install ruby, rails
- To install dependencies,
bundle install
- To setup the database,
bundle exec rails db:setup
- To run the database migrations,
bundle exec rails db:migrate
- To populate the dummy data from data/ folder
bundle exec rails data:populate_all
or
type=PromoCode bundle exec rails data:populate
- After populating the data run the command in rails console,
Conference.all.each {|c| c.set_slug }
this will set slug for all the conferences.
- Start the server
bundle exec rails s
@worldofprasanna @intrepidkarthi
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2020 Prasanna, Karthikeyan