https://github.com/darwinz/rails-blog
https://github.com/darwinz/rails-blog
hacktoberfest rails ruby ruby-on-rails
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/darwinz/rails-blog
- Owner: darwinz
- Created: 2020-05-24T11:07:07.000Z (about 6 years ago)
- Default Branch: develop
- Last Pushed: 2023-10-14T06:35:57.000Z (over 2 years ago)
- Last Synced: 2025-07-25T11:11:16.824Z (12 months ago)
- Topics: hacktoberfest, rails, ruby, ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails Blog
Ruby on Rails blog setup
Pre-requisites
------------------
* Ruby 2.4.1+
* Rails 5.1.4+
* PostgreSQL
* NPM 5.3.0+
* Node.js 8.5.0+
* React 16.1.1+
PostgreSQL installation
------------------
Basic installation on Debian you can use the following documentation: [wiki.debian.org/PostgreSql](https://wiki.debian.org/PostgreSql)
on Ubuntu you can use: [help.ubuntu.com/community/PostgreSQL](https://help.ubuntu.com/community/PostgreSQL)
Install / Setup
------------------
* Clone this repository
* Run npm install
```bash
$ npm install
```
* Run bundle
```bash
$ bundle
```
* Create db
```bash
$ bundle exec rake db:create
```
* Run migrations
```bash
$ bundle exec rake db:migrate
```
* Run db seed script
```bash
$ bundle exec rake db:seed
```
* Start rails server
```bash
$ bundle exec rails s
```
Testing
------------------
* Run the test suite
```bash
$ bundle exec bin/rails test test
```