Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

QomOSC/old-blog

Repository files navigation

QOM Open Source Community Blog

Run

git clone https://github.com/qomosc/blog.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