This app is for managing the tickets and their status assigned to the team.
To run the application, follow the following steps
-
Create a database
CREATE DATABASE helpdesk_development;
-
run bundle install
bundle install
-
add the data to database
rake db:migrate
-
seed the database
rake db:seed
-
run the app
bin/rails s -b 0.0.0.0
-
Generate rspec
bin/rails generate rspec:install
-
Generate the binstub so you can run bin/rspec instead of bundle exec rspec from within the project directory:
bundle binstubs rspec-core
-
create the test pg database. Your development and test databases are separate so that you can run your tests in isolation and neither one affects the other
bin/rake db:setup RAILS_ENV=test
bin/rspec