The Blog app is a classic example of a blog website. It is a fully functional website that shows the list of posts and empower readers to interact with them by adding comments and liking posts.
- Ruby on Rails
- Bootstrap
- Heroku
To get a local copy up and running follow these simple steps:
First Steps
- Clone it using git command:
git clone https://github.com/ArthurGC/blog-app-project.git
Run in development (locally)
- Install gem files and dependencies:
bundle install
yarn install
- Setup you database.yml with your own postgres's password or create a PASS_POSTGRES environment variable
password: <%= ENV["PASS_POSTGRESQL"] %>
- Setup db and seed file
rails db:setup
rails db:seed
- Run server
rails server
[OPTIONAL] if you receive an error about turbolinks or application.(css/js) after running the server. Please use this command before run the server:
rails assets:precompile
Run tests
- To run all tests in the project
rspec
If you wanna run a certain test file
rspec spec/test_file_path
- Use controllers to handle requests and render empty views.
- Install Ruby on Rails framework.
- Use Ruby Gems as a software packages system.
- Understand Rails naming conventions.
- Use params from browser requests in a safe way.
๐ค ArthurGC
- GitHub: @ArthurGC
- Twitter: @ArthurGC_22
- LinkedIn: alxguzmanc
๐ค Guilherme Giachellin
- GitHub: @GuilhermeGiachellin
- LinkedIn: GuilhermeGiachellin
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
This project is MIT licensed.