Skip to content

Latest commit

 

History

History
165 lines (113 loc) · 3.55 KB

README.md

File metadata and controls

165 lines (113 loc) · 3.55 KB

nchikota-js

contributors stars commits last commit License

An opensource tech stack composed of ExpressJS, NodeJS, ExtJS

Quickstart

Installation

Docker Setup

  1. CentOS
$ sudo yum install -y yum-utils \
    device-mapper-persistent-data \
    lvm2

$ sudo yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

$ sudo yum install docker-ce docker-ce-cli containerd.io

$ sudo systemctl start docker
  1. Debian
$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg2 \
    software-properties-common

$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

$ sudo apt-key fingerprint 0EBFCD88

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

$ sudo apt-get update

$ sudo apt-get install docker-ce docker-ce-cli containerd.io
  1. Fedora
$ sudo dnf -y install dnf-plugins-core

$ sudo dnf config-manager \
    --add-repo \
    https://download.docker.com/linux/fedora/docker-ce.repo

$ sudo dnf install docker-ce docker-ce-cli containerd.io

$ sudo systemctl start docker
  1. Ubuntu
$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

$ sudo apt-key fingerprint 0EBFCD88

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

$ sudo apt-get update

$ sudo apt-get install docker-ce docker-ce-cli containerd.io
  1. MacOS
  2. Windows

App Setup

  1. Clone the repository
$ git clone https://github.com/pupupulp/nchikota-js.git
  1. Go to source directory
$ cd nchikota-js
  1. Build docker image
$ docker build -t pupupulp/nchikotajs:1.0 .

Usage

Run docker image

$ docker run -d \
    --name="nchikota" \
    -p 9000:9000 \
    --mount type=bind,source=$(pwd)/app,target=/usr/src/nchikota/app,readonly \
    pupupulp/nchikotajs:1.0

Build

  1. Change permission of script
$ chmod +x app/scripts/build.sh
  1. Run the script
$ app/scripts/build.sh

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Related Projects

You might want to checkout these projects:

  • KonyvtarJS - An opensource library/package of code wrappers for ExtJS 6.2.0 GPL.
  • PasserelleJS - An opensource API gateway built with ExpressJS.

Contributors

Author

Eagan Martin

License

Copyright © 2019, Eagan Martin. Release under the GPL-3.0 License