This repository is intended to be an associations practice using Rails, the instructions for this practice project can be found in TOP site.
In summary, this is the backend of an event's site that has users and events related in many ways.
Here is a list of dependencies of this app.
rails
5.1.7ruby
2.6.5bundler
2.0.2yarn
1.19.2sqlite3
3.27.2
Copy and paste the following chain of commands in your terminal as a regular user. This should work in Linux and Mac operative systems.
git clone --single-branch --branch 'feature/private-events' \
https://github.com/santiago-rodrig/private-events && \
cd private-events && bundle install && yarn install --check-files && \
rails db:reset && rails db:reset RAILS_ENV=test && rails db:migrate && \
rails db:migrate RAILS_ENV=test
To run the tests that verify the proper behavior of the Rails app, run the following command. There are about 82 passing specs, this should make you stop worrying about a malfunction in the app.
rspec
Just run rails server
. Then visit localhost:3000.
If for some reason you have a server running in that same port just change
the port with rails server -p XXXX
, where XXXX
is any number from 3000 and
3999, it could be for example 3001
(it works this way, not sure about any other
set of numbers for the port).