An opensource tech stack composed of ExpressJS, NodeJS, ExtJS
- 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
- 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
- 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
- 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
- Clone the repository
$ git clone https://github.com/pupupulp/nchikota-js.git
- Go to source directory
$ cd nchikota-js
- Build docker image
$ docker build -t pupupulp/nchikotajs:1.0 .
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
- Change permission of script
$ chmod +x app/scripts/build.sh
- Run the script
$ app/scripts/build.sh
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
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.
Eagan Martin
Copyright © 2019, Eagan Martin. Release under the GPL-3.0 License