swarmcity_installer

0.1.11 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i swarmcity_installer

Weekly Downloads

2

Version

0.1.11

License

MIT

Last publish

Collaborators

  • eduadiez