Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hmasila/auth-armor-ruby-example


https://github.com/hmasila/auth-armor-ruby-example

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# README

### Prerequisites

The setups steps expect following tools installed on the system.

- Github
- Ruby [2.6.3](https://github.com/hmasila/auth-armor-ruby-example/blob/master/.ruby-version#L1)
- Rails [5.0.2](https://github.com/hmasila/auth-armor-ruby-example/blob/master/Gemfile#L7)

### 1. Check out the repository

```bash
git clone [email protected]:hmasila/auth-armor-ruby-example.git
```

### 2. Create database.yml file

Copy the sample database.yml file and edit the database configuration as required.

```bash
cp config/database.yml.sample config/database.yml
```

### 3. Create and setup the database

Run the following commands to create and setup the database.

```ruby
rails db:create
rails db:setup
```

### 4. Start the Rails server

You can start the rails server using the command given below.

```ruby
rails s
```

And now you can visit the site with the URL http://localhost:3000