Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unsad/ssr-blog
A server-side-rending blog based on Vue2 && Koa2 && MongoDB
https://github.com/unsad/ssr-blog
docker koa2 mongodb pm2 redis server-side-rendering vue2
Last synced: 3 months ago
JSON representation
A server-side-rending blog based on Vue2 && Koa2 && MongoDB
- Host: GitHub
- URL: https://github.com/unsad/ssr-blog
- Owner: unsad
- License: mit
- Created: 2017-05-09T01:50:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T04:55:39.000Z (almost 2 years ago)
- Last Synced: 2024-05-07T21:02:03.485Z (6 months ago)
- Topics: docker, koa2, mongodb, pm2, redis, server-side-rendering, vue2
- Language: Vue
- Homepage: https://www.sweetalkos.com
- Size: 3.54 MB
- Stars: 48
- Watchers: 1
- Forks: 11
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ssr-blog
[![Build Status](https://travis-ci.org/unsad/ssr-blog.svg?branch=master)](https://travis-ci.org/unsad/ssr-blog) ![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)
![bg](https://src.sweetalkos.com/DmobetUUUAAhlD_.jpg)
A server-side-rending blog based on Vue2 && Koa2 && MongoDB with Persona5 theme.## Preview
[click here](https://www.sweetalkos.com)
## Usage in Development
### What You Need Before Getting Started
* Node.js
* MongoDB
* Redis### server
```node
cd server
npm install
npm start // default serve at localhost: 3000
```You can change config options at `server/conf/config.js`
### admin
```node
cd admin
npm install
npm run dev // default serve at localhost: 8082
```### front
```node
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`
```node
...
web_front:
image: unsad/web_front // change to your own
...
web_back:
image: unsad/web_back // change to your own
...
``````node
docker-compose up // default server at localhost:4000
```
## Lisence[MIT](https://opensource.org/licenses/MIT)