Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Allows Swarm City to be installed on any platform

License

Notifications You must be signed in to change notification settings

swarmcity/SwarmCityInstaller

Repository files navigation

Swarm City Installer

Introduction

The installer will allow Swarm City to be installed on any platform via the command npm install SwarmCity The user will be prompted to answer a number of questions leading to a fully working version of the project whether it be locally for development, or general use or to be deployed on the server for production or testing.

Pre-requisites

  • nodejs

    Install nodejs v6.X.X LTS version.

  • npm

    Make sure you have installed latest npm. You can run sudo npm install -g npm.

  • git

    Install git commandline tool.

(UBUNTU)

sudo apt-get install build-essential

Install dependencies

  • docker

    Install docker. The community edition (docker-ce) will work. In Linux make sure you grant permissions to the current user to use docker by adding current user to docker group, sudo usermod -aG docker $USER. Once you update the users group, exit from the current terminal and open a new one to make effect.

  • docker-compose

    Install docker-compose

Note:- Make sure you can run git, docker ps, docker-compose without any issue and without sudo command.

Installation

$ npm install -g swarmcity_installer

Initialization

$ swarmcity init
$ swarmcity build

Start

$ swarmcity start

Stop

$ swarmcity stop

Status

$ swarmcity ps

Logs

# All
$ swarmcity logs
# Chain
$ swarmcity logs chain
# API
$ swarmcity logs api
# Store
$ swarmcity logs store

About

Allows Swarm City to be installed on any platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •