- I am expecting you to be using Linux. If you are not the commands should be easily translatable to the shell you are using
- Ruby needs to be installed - Don't know how? Follow our guide
- Git
- Node.js
- Clone the repo
git clone https://github.com/ruby-network/ruby --recursive
- Install dependencies
cd ruby && npm i
- Copy the example config
cp config/settings.example.yml config/settings.yml
- Open the config with your favorite editor
nano config/settings.yml
- To make a private instance the file should look something like this:
port: 9293 verboseLogging: "false" private: "true" username: "your username" password: "your password" multiuser: "false"
- Start the server
npm start
- You should now be able to access your instance at
http://localhost:9293
- Docker needs to be installed - Don't know how? Follow our guide
Most of the commands are the same as the ones in a public docker instance
- Make a config.yml file
nano config.yml
- To make a private instance the file should look something like this:
port: 9293 verboseLogging: "false" private: "true" username: "your username" password: "your password" multiuser: "false"
- Follow the commands in the docker instance guide depending on what docker method you used
3a. Simply omit the step where it tells you to make a config.yml file (as you have already done that)
This is not supported due to the fact that everyones setup is different. Here is a list of things you will need to do:
- Setup a database (Postgresql)
- Setup ruby to use multiuser mode
Use docker if you want multiuser mode here
- Docker needs to be installed - Don't know how? Follow our guide
Most of the commands are the same as the ones in a public docker instance
-
Make a config.yml file
nano config.yml
-
To make a private instance with multiuser the file should look something like this:
port: 9293 #currently does nothing, but will be used in the future verboseLogging: "false" #change this to "true" to enable verbose logging private: "true" #change this to "true" to enable private mode username: "yourUsername" #change this to your username (when using private mode) password: "yourPassword" #change this to your password (when using private mode) multiuser: "true" # set to true to enable multiuser mode when using private mode (if not using private mode, this will be ignored) database: #The db defaults should not be changed when using docker (unless you know what you are doing) username: "ruby" # change this to your database username password: "ruby" # change this to your database password host: "db" # change this to your database host dbname: "ruby" # change this to your database name
-
Follow the commands in the docker instance guide depending on what docker method you used. Make sure you uncomment the database section of the file
3a. Simply omit the step where it tells you to make a config.yml file (as you have already done that)
3b. For multiuser mode, we provide a set of CLI commands to manage users. You can find them here