Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hmasila/auth-armor-ruby-example
https://github.com/hmasila/auth-armor-ruby-example
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/hmasila/auth-armor-ruby-example
- Owner: hmasila
- Created: 2020-07-28T14:53:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T20:04:58.000Z (almost 2 years ago)
- Last Synced: 2023-03-11T20:49:20.780Z (over 1 year ago)
- Language: Ruby
- Size: 1.37 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
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