Skip to content

Latest commit

 

History

History
61 lines (53 loc) · 1.15 KB

README.md

File metadata and controls

61 lines (53 loc) · 1.15 KB

SIMPLE

SIMPLE backend framework

Static Server

sudo npm i -g simple-backend
sudo simple /path/to/static/folder

Create Server

Create User

useradd <username>
passwd <username>
mkdir /home/<username>
chsh <username> -s /bin/bash

Assign sudoer

visudo
<username>    ALL=(ALL) ALL

Install Library

CentOS

sudo chown <username> -R ~/
sudo yum update
sudo yum install openssl libtool autoconf automake uuid-dev build-essential gcc gcc-c++ python-software-properties unzip make git libcap2-bin wget -y

Ubuntu

sudo chown <username> -R ~/
sudo apt-get update
sudo apt-get install openssl libtool autoconf automake uuid-dev build-essential gcc g++ software-properties-common unzip make git libcap2-bin -y

Windows

https://nodejs.org/ - click install

Install Node You can save in sh file and run it

bash <(curl https://raw.githubusercontent.com/Luphia/SIMPLE/master/shell/install-env.sh -kL)

Deploy SIMPLE-SAMPLE

npm install -g npm
git clone https://github.com/Luphia/SIMPLE/
cd SIMPLE
npm install

Startup

cd SIMPLE
node test