Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosven/sevenmosquito
semo
https://github.com/cosven/sevenmosquito
blog django next
Last synced: 14 days ago
JSON representation
semo
- Host: GitHub
- URL: https://github.com/cosven/sevenmosquito
- Owner: cosven
- Created: 2017-01-16T13:25:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T17:22:09.000Z (over 3 years ago)
- Last Synced: 2024-12-04T05:05:27.394Z (20 days ago)
- Topics: blog, django, next
- Language: JavaScript
- Homepage:
- Size: 1.23 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# semo
[![Build Status](https://travis-ci.org/cosven/sevenmosquito.svg?branch=master)](https://travis-ci.org/cosven/sevenmosquito)
[![Documentation Status](https://readthedocs.org/projects/sevenmosquito/badge/?version=latest)](http://sevenmosquito.readthedocs.io/en/latest/?badge=latest)### DEV Guide
```
# 创建 virtual env
python3 -m venv .venv
source .venv/bin/activate# 安装依赖
pip install -r requirements.txt -i https://pypi.douban.com/simple# 启动依赖服务
# 1. mysql server (user:root, password:123456)# 数据库表更新:创建表并加载测试数据
./manage.py migrate
./manage.py loaddata blog/fixtures/blog.json# 运行单元测试
./manage.py test# 启动服务
./manage.py runserver# 创建 superuser,这样才能访问 admin 页面
./manage.py createsuperuser# 部署的主要过程
source /data/venv/semo/bin/activate
pip install -r requirements # 如果有更新依赖
./manage.py migrate # 如果有更新数据库
./manage.py collectstatic # 如果有更新前端资源
supervisorctl restart semo # 重启服务进程
```### 主题调试参考
- [NexT-Pisces](http://notes.iissnan.com/)
- [NexT-Muse](https://javaclear.github.io/)
- [NexT-Mist](https://shevonwang.github.io/)