This README contains the instructions necessary to get the application up and running.
*Rails version: 4.0.1
-
Ruby version: 2.0.0
-
Database: PostgreSQL
-
Installation:
-
Download the project: git clone [email protected]:Joselarcu/MyBlog.git
-
Create the database on postgresql: create database myblog_dev;
-
bundle install on the folder where the project has been downloaded
-
rails s to start the server
-
see the result on localhost:3000/
-
Create a new user clicking on sing up
-
If you want to give admin rights to this user:
7.1 rails c 7.2 User.find(0).add_role(:admin)
Now your blog is ready to use and create new posts