Skip to content

unsad/ssr-blog

Repository files navigation

ssr-blog

Build Status GitHub

bg A server-side-rending blog based on Vue2 && Koa2 && MongoDB with Persona5 theme.

Preview

click here

Usage in Development

What You Need Before Getting Started

  • Node.js
  • MongoDB
  • Redis

server

cd server
npm install
npm start // default serve at localhost: 3000

You can change config options at server/conf/config.js

admin

cd admin
npm install
npm run dev // default serve at localhost: 8082

front

cd front
npm install
npm run dev // default serve at localhost: 8080

Usage in Production

What You Need Before Getting Started

  • Docker

You should change the image to your own in docker-compose.yml

    ...
  web_front:
    image: unsad/web_front // change to your own
    ...
  web_back:
    image: unsad/web_back // change to your own
    ...
docker-compose up // default server at localhost:4000

Lisence

MIT