Giter Site home page Giter Site logo

ruby-rails6-saas-genesis's Introduction

Ruby Rails 6 SaaS Genesis

Ruby project that includes everything you need to create a saas project.

Getting Set Up

This site runs on Ruby 2.7.2, Rails 6.0.4 and MySQL

Installing the Site on your Local Machine

  1. Make sure to fork this repository
  2. When you have it cloned to your local machine make sure your Ruby version is 2.7.2
Populating the Database

The db/seeds.rb file is used to populate essential information in order to use the system. Use the command rake db:seed to populate the database. You can run it as many times as you'd like, it deletes all meta data and repopulates it with each run. For now the seed file creates an administrator user but eventually when the curricula get open-sourced like this project it will create a demo site for you to use.

Custom configuration files

To avoid conflicts between developers and to store private environment variables like Github API key we use figaro gem. figaro creates a file called application.yml that's located in the config/ directory but not checked into git (no, you can't have my passwords).

Check out the Figaro Documentation for a very easy-to-understand explanation of how the gem works. You basically just need to run rails generate figaro:install and populate the missing variables in application.yml. You can find an example of the requested variables in config/application.yml.example.

Running the server

Run rails server the app should be running at http://localhost:3000.

This is basically all you need to get yourself set up with the repository.

You may have to check your system for mysql libraries see notes in mysqlgemnotes

ruby-rails6-saas-genesis's People

Watchers

James Cloos avatar Paul Anthony McGowan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.