ssr-blog
ssr-blog copied to clipboard
A server-side-rending blog based on Vue2 && Koa2 && MongoDB
ssr-blog
A server-side-rending blog based on Vue2 && Koa2 && MongoDB with Persona5 theme.
Preview
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