This is a project based in Ruby on Rails tutorial. The goal of this project is develop a basic app similar to a social network with the basic features to create micro-posts.
This is the sample application for Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl.
All source code in the Ruby on Rails Tutorial is available jointly under the MIT License and the Beerware License. See LICENSE.md for details.
To get a local copy up and running follow these simple example steps.
Git
Ruby 2.6.5
Rails 6
PostgreSQL
To clone the project in your local environment do the following.
- Open a new
terminal
window and navigate to the directory where the project will be stored. - Run the command
git clone git@github.com:oscardelalanza/satic_pages.git
. - Run the command
cd satic_pages
to enter the project directory.
- Install the required gems running the command
bundle install --without production
. - Install the required node modules running the command
yarn install
. - Create and migrate the database running the command
rails db:migrate
.
- Click on
Sign up now!
button and fill the form to create your account. - Check your email and open the
activation
link to start using your account. - Use the links in the navigation bar to switch between the different sections of the site.
In this section is the main section, you will find the Micropost Feed
and an input to create new posts
.
-
Micropost feed
display all your posts sorted by date. Notice that also each post contain adelete
link to remove unwanted posts. -
New posts
form to create new posts, and also attach images to it.
In this section you will find the list of users registered in the app.
This is a dropdown list that displays the following links.
Profile
this link will redirect you to your profile info.Settings
use this link if you want to update your account info.Log out
use this link to end your session in the app.
- Run the command
rails test
.
- To start the local server run the command
rails server
.
For more information, see the Ruby on Rails Tutorial book.
👤 Oscar De La Lanza
- Github: @oscardelalanza
- Twitter: @twitterhandle
- Linkedin: Oscar De La Lanza
- Email: oscardelalanza@gmail.com
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!