Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
Kevin Chang edited this page Jun 30, 2020 · 7 revisions

Setup

Get the code

Clone the repository to create a local version on your system:

$ git clone https://github.com/Kajabi/sage.git

Install dependencies

Next, you'll install the dependencies needed to run and develop with Sage.

First, install dependencies for Rails:

$ bundle

We use yarn for package management. If you do not have yarn installed, follow the steps in the Yarn documentation before continuing.

Once yarn has been installed, we can install the packages needed for Sage with:

$ yarn install

NOTE: The yarn install command should also be run following any changes made to package.json

Database setup

The final part of the setup is to create a database

$ rake db:setup

Run the server

To run Sage locally and view the documentation site:

$ yarn start

This will spin up a local server, along with live-reloading of CSS & JavaScript when changes are made. Navigate to http://localhost:4000 in your browser.

Clone this wiki locally