Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.66 KB

terminal.md

File metadata and controls

59 lines (43 loc) · 1.66 KB

Deploying locally (without docker)

NOTE: This sets up a public instance if you want a private instance the instructions are located here

Prerequisites

Dependency setup

After you have all the prerequisites you'll need to install some dependencies

I am assuming you are using Linux

  1. Clone the repo
git clone https://ruby-network/ruby --recursive
  1. (Optional) Run the command below to install the Ruby dependencies
    • npm i should do this for you but if it doesn't you can run the command below
bundler 
  1. Run the command below to install the Node.JS dependencies
npm i

Starting

To start the app for the first time you will need to do a few things

  1. Run the command below to make a settings.yml file
cp config/settings.example.yml config/settings.yml
  1. Edit the config/settings.yml file with a URL
    • NOTE: if you don't have a URL you want to use you can simply set any arbitrary url
# config/settings.yml 
mainURL: "https://example.com/"

This makes a basic configuration file required by both our Node.JS server and our Ruby server

For a more advanced config visit the Advanced Config page

  1. Run the command below to start the app
npm start

After this you should only need to run step 2

Questions?

  • Visit our FAQ