Project Create with Ruby on Rails
Live Demo
.
Report Bug
·
Request Feature
This project is part of the course The Odin Project. The goal of the project is to apply our knowledge of Ruby on Rails to build a Social Network that allows interactions between users, including the ability to create and send posts, comments and likes.
- clone the repository Facebook_Like
- Run
sudo apt-get install libpq-dev[optional] (You need to have installed the postgreSQL dev package with header of PostgreSQL) - cd in the app folder and run
bundle install - run
yarn install --check-filesif it's necessary - run
rails db:create && rails db:migrate* (If there are problems with the service of postgresql check DB Section) - run
rails server - go to
localhost:3000
-> If you launch the rails server and receive an error message:
- Run
psql facebook - Run
\conninfo - Check if the port is the same as in the development session on ~/config/database.yml.
- Change to the port displayed on
\conninfoif needed.
- Run:
sudo apt-get update && sudo apt-get install postgresql - Run:
sudo service postgresql start - Run:
sudo -i -u postgres - Run:
psql - Run:
CREATE USER rails with encrypted password 'rails';(with semicolon) - Run:
ALTER USER rails createdb;
- Improve overall design
- Add two-step authentication
- Add groups and events
- In the root folder run:
rspec
- Use AWS Store to include Images in posts.
- Create a link to recover the password account.
- Generate a link to confirm the account.
- Improve styling.
