Giter Site home page Giter Site logo

guruapp's Introduction

Limitless Minds Platform

For Mac Users:

Install Homebrew (brew.sh)

  1. Check if homebrew is installed, type in Terminal:
    $ which brew
    
  2. Install Homebrew if not found
  $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Ruby

  1. Check the version of Ruby you have installed by typing in Terminal:

    $ ruby -v
    
    • Installed version should be: ruby 2.7.2p137
  2. Install Ruby if needed.

    $ brew install gnupg
    $ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB`
    $ \curl -sSL https://get.rvm.io | bash`
    

    QUIT TERMIMAL

    $ rvm install 2.7.2
    

Install Rails

  1. Check the version of Rails
$ rails -v
- Installed version should be: 6.0.3.4
  1. Install Rails if needed
 $ sudo gem install rails

Install Postgresql

  1. Check the version of postgres
 $ postgres -v
  1. Install Postgres
 $ brew install [email protected]
  1. If you have mulitple versions switch to the correct version
        $ brew switch postgresql 13.2 
    

Make sure you have Git set up in your project folder:

 $ brew install git

https://docs.github.com/en/github/getting-started-with-github/set-up-git

Set up the project

  1. Clone from Github to your code projects directory
    $ git clone https://github.com/mattnickel/guruapp
    
  2. Change directories into new cloned directory
  3. Bundle dependencies
     $ bundle install
    
  4. Add JavaScript runtime - Nodejs
    brew install nodejs
    

Add local config

  1. Add secrets/video_images.json (ask for this file)
  2. Add master.key (ask for this file)
  3. Add sendgrid key as a local variable (ask for this key) https://sendgrid.com/docs/ui/account-and-settings/api-keys/

Set up database

$ brew services start postgresql
 ```
 Open up the psql termial
 ```
$ psql postgres
CREATE ROLE developer WITH LOGIN PASSWORD '123456';
ALTER ROLE developer CREATEDB;

Quit psql terminal

\q

Log into psql with developer psql postgres -U developer

TIP: Before migrating, comment out Training Modules Api logic (not sure why) $ rake db:migrate $ rake db:seed

Run rails project

- Terminal: Rails s
- brew install -g yarn
- brew install node
- rake webpacker:install
- Go to browser: localhost:3000
- Default Login: email: "[email protected]"   password: "123456"

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.