In this project, we built an application named Private Events that behaves similar to Eventbrite. The main goal is to put in practice the main concepts of Associations in rails.
- Ruby on Rails
- RSpec / Capybara (Unit/Integration Testing)
- Bootstrap
- Linter (Github Actions, Rubocop)
- SQlite
To get a local copy up and running follow these simple steps.
- On the project GitHub page, navigate to the main page of the repository this page.
- Under the repository name, locate and click on a green button named
Code
. - Copy the project URL as displayed.
- If you're running Windows Operating System, open your command prompt. On Linux, Open your terminal.
- Change the current working directory to the location where you want the cloned directory to be made. Leave as it is if the current location is where you want the project to be.
- Type
git clone
, and then paste the URL you copied in Step 3.
$ git clone https://github.com/teekaytech/Private-Events.git
- Press Enter. Your local copy will be created.
Please Note that you must have github installed on your PC, this can be done here.
Since all the code is written using ruby on rails, Ruby Runtime >= 1.9
and rails 6
is required to interpret the code. If you don't have ruby on rails runtime already setup on your computer, follow the instruction for your specific operating system on the official installation guide.
After cloning on your computer, open the folder using your terminal/command prompt window and run
bundle install
rails db:migrate
rails db:seed
rails server
Signup a new user to test the app.
On the terminal, run rspec
command to execute the test cases.
Please note that this integration testing (Capybara) works well with Chrome browser.
👤 Taofeek Olalere
- Github: @teekaytech
- Twitter: @ola_lere
- Linkedin: olaleretaofeek
👤 Ebeagu Samuel
- Github: @ebeagusamuel
- Twitter: @samuelebeagu
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request.
Feel free to check the issues page.
Give a ⭐️ if you like this project.
This project is MIT licensed.