severcabel
Install
git clone git@github.com/realetive/severcabel.git
cd severcabel
cp .env.example .env
npm install
Environment variables
Set/change the config in .env
file.
Usage
Production
- Run the builder:
NODE_ENV=production npm run make
- Run server:
NODE_ENV=production npm start
Develop
Start dev-server
npm run dev
Debug
- For check api response for page, add
json=1
param to URL, for example: http://localhost:3000/?json=1 - For check bemjson structure, add
bemjson=1
param to URL, for example: http://localhost:3000/?bemjson=1