A simple app that organize events and users, using rails associations.
- Git.
- Code editor.
- Code linter.
- Rails.
- Browser.
-
Open the terminal.
-
Enter
git clone https://github.com/othman-19/private-events
. -
Navigate to the cloned repository.
-
In the terminal cd into private-events.
-
Install bundle by typing
bundle install
and update it by typingbundle update
in the terminal. -
Run the rails server by typing
rails server
in the terminal. -
Create a new users and events.
-
If you get an error message on the browser like this: "Migrations are pending. To resolve this issue, run: bin/rails db:migrate RAILS_ENV=development", just got to the terminal and run:
bin/rails db:migrate RAILS_ENV=development
then refresh your page.