Skip to content

aleksey-hariton/redguide-rails

Repository files navigation

RedGuide Rails Application

Ruby on Rails

This application requires:

  • Ruby 2.3.3
  • Rails 5.0.0.1

About

RedGuide - CI tool for support of IaaC (Infrastructure as a Code) and TDI (Test Driven Infrastructure) approaches in you Chef cookbook development.

How to get started

  1. Clone this repo
  2. Install mysql client package if you are going to store data in mysql database
  3. Install rvm: https://rvm.io/
  4. Using rvm create a custom gemset for this project
  rvm gemset create <gemsetname>
  rvm gemset use <gemsetname>
  1. Install bundle gem:
  gem install bundle
  1. Switch to the project directory and run the command below:
  cd <path_to_project>
  bundle install
  1. copy .env .secret .database *.yml example files
  2. Configure .secret file by editing credentials
  3. Configure database connection, create dev, test and prod databases if needed
  4. Type bellow commands to generate database structure and fill it with initial data
  rake db:migrate
  rake db:seed
  1. Сlone redguide-cli: https://github.com/aleksey-hariton/redguide-cli.git
  2. Initiate RedGuide cli config file, that will be placed in ~/.redguide.yml to access redguide:
  http://localhost:3000 --user [email protected] --password 123456789

Author

Aleksey Hariton ([email protected])

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published