This project is for learning purpose just to get familiar with Forms and helpers in ruby on rails. It is gotten from The Odin Project.
- You should have Ruby 2.7.1
- You need to have Rails 6.0.3.2
- You need to have Yarn v1.22.4
-
Clone this repository with
git clone https://github.com/descholar-ceo/re-former
-
Go inside this repo locally by typing
cd re-former
-
Run
bundle install
to install all ruby dependecies -
Run
yarn
to install js dependencies -
Run
bin/rails db:migrate
to create necessary tables in database
- Start the server by running
bin/rails server
, if all of the above steps has been followed correctly, you should get a server started onhttps://127.0.0.1:3000
or easilyhttps://localhost:3000
- Go to these paths:
GET /users/new => Create a user 1
GET /users/1/edit => Edit user 1
and observe the changes in your terminal
Add a new user | Update existing user |
---|---|
There are two ways of contributing to this project:
- If you see something wrong or not working, please open the issue in issue section
- If you see something to improve or to correct, and you have a solution to that, follow the below steps to contribute:
- Fork this repository
- Clone it on your local computer by running
git clone https://github.com/descholar-ceo/re-former.git
Replace your username 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
- Open a pull request, comparing your new created branch with our original master branch here
- Github: @descholar-ceo
- Twitter: @descholar3
- LinkedIn: MUGIRASE Emmanuel
- Github: @Georjane
- Twitter: @WittyJany
- LinkedIn: Witah Georjane
Give a ⭐️ if you like this project!