Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 543 Bytes

README.md

File metadata and controls

37 lines (20 loc) · 543 Bytes

Comma

Run

git clone https://github.com/MSM79/ShamsiPour_Project.git

cd blog

npm install

Development

npm run dev

npm run server

open http://localhost:8080

Deploying with PM2

npm run prod

pm2 build/app.js

NOTE: Don't forget to change configurations in src/server/config.js

Deploying with Docker

Run cp .env.example .env and change configurations in .env. We will use SECRET_KEY to secure sessions and sensetive data.

You can then run using Docker Compose:

docker-compose up -d