This is just a template create after you run rails new app_name and add bootstrap-sass gem to the project.
In the terminal, run the following commands:
- Repo clone to your local computer and name your own project
git clone # Blog Practice
This app allows users to sign up, sign in and create, edit, and edit posts.
### Installation
In the terminal, run the following commands:
* Repo clone to your local computer
git clone https://github.com/bangnguyen77/blog_template my_awesome_app
* System dependencies
bundle install
* Database creation - Create test and development databases
$ rails db:create
$ rails db:migrate
$ rails db:test:prepare
* In a new terminal, start the postgres server:
$ postgres
* How to run the test suite
* How to start the rails server
Start
$ rails server
View the default page served by navigating to:
localhost:3000
- System dependencies
bundle install
- Database creation - Create test and development databases
$ rails db:create
$ rails db:migrate
$ rails db:test:prepare
- In a new terminal, start the postgres server:
$ postgres
-
How to run the test suite
-
How to start the rails server
Start
$ rails server
View the default page served by navigating to:
localhost:3000