This is the Capstone project on the Ruby on Rails module from the Microverse program. It consists of making a blog in which the user can write an article in the domain of Technology, books, History, and News. He can also vote for an article that he wrote or other users wrote, delete and edit an article that he wrote.
- Ruby. vruby 2.7.0
- Ruby on Rails. v6.0.3.4
- Using Rubocop Linters.
- Bootstrap
In order to run on the local environment, you need to install Ruby on your computer. For windows, you can go to Ruby installer and for MAC and LINUX you can go to Ruby official site for instructions on how to install it. Then you can clone the project by typing git clone https://github.com/ABDELLANI-Youcef/ror_articles_website.git
on your terminal. You will need also to have Postgresql properly installed to make this application work because it uses Postgres as a database.
To get a local copy up and running follow these simple example steps.
- Open a terminal
- Copy this code:
git clone "put the link from GitHub repo"
- Run the program with this code:
bundle install
- before running
rails server
you must run a few more commands: first-runyarn install --check-files
- Then run
rails db:create
,rails db:migrate
,rails db:seed
- now you can run
rails server
- Stop the program with: "Ctrl + C" (Windows or Linux) or "Command + C"(Apple)
- When the program is running go to your browser
- put: localhost:3000/
- Click on login, register, and create a new Event
- Enjoy the app.
👤 Youcef Abdellani
- Github: @ABDELLANI-Youcef
- LinkedIn:LinkedIn
- Twitter:@YoucefAbdellani
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.