This project is a web application for EXERCISES built with Ruby on Rails demonstrating learned concepts in rails.
It involves tracking the exercises of a registered User, and how much time was spent on the exercise.
The project also includes a number of features such as User sign up and sign in, creating groups, assigning exercises to a group and vice-versa. e.t.c
Profile Page | Exercises Page |
---|---|
Groups page | |
- Ruby 2.7.2
- Ruby on Rails 6.1.1
- Postgresql 13.1
- Bootstrap
- Rspec
- Capybara
- You should have ruby installed.(This project was tested on version
2.7.2
) - You should have rails installed.(This project was tested on version
6.1.1
) - You should have bundler installed.(This project was tested with Bundler version
2.1.4
) - You should have Postgresql installed.(This project was built with version
13.1
)
-
Clone the repository to your local machine using
git clone git@github.com:ahmadchata/logxercise.git
-
On your local machine, navigate to the logxercise folder using
cd logxercise
in your terminal -
Install all the gems for the project by running
bundle
in your terminal -
Create database using the following command
rails db:create
-
Migrate the database using the following command
rails db:migrate
-
Start the server by using the following command.
bin/rails server
-
Open this link in your favorite browser
http://localhost:3000
Image Magick
must be installed
- Clone the repository to your local machine using
git clone git@github.com:ahmadchata/logxercise.git
- On your local machine, navigate to the logxercise folder using
cd logxercise
in your terminal - Create a new branch using
git checkout -b testing_branch
- Run
bundle install
- run
rspec
There are two ways of contributing to this project:
-
If you see something wrong or not working, please check the issue tracker section, if that problem you met is not in already opened issues then open the issue by clicking on
new issue
button. -
If you have a solution to that, and you are willing to work on it, follow the below steps to contribute:
- Fork this repository
- Clone it on your local computer by running
git clone git@github.com:ahmadchata/logxercise.git
Replace ahmadchata with the username you use on github - Open the cloned repository which appears as a folder on your local computer with your favorite code editor
- Create a separate branch off the master branch,
- Write your codes which fix the issue you found
- Commit and push the branch you created
- Raise a pull request, comparing your new created branch with our original master branch here
👤 Ahmad Chata
- Github: @ahmadchata
- Twitter: @ahmadchata
- Linkedin: Ahmad Chata
Give a ⭐️ if you like this project!
- The UI Design credit goes to Gregoire Vella at www.behance.net
- This project was inspired by the Microverse program