swarmcity_installer v0.1.11
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-essentialInstall 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_installerInitialization
$ swarmcity init
$ swarmcity buildStart
$ swarmcity startStop
$ swarmcity stopStatus
$ swarmcity psLogs
# All
$ swarmcity logs
# Chain
$ swarmcity logs chain
# API
$ swarmcity logs api
# Store
$ swarmcity logs store