Skip to content

Commit

Permalink
fix: add instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
qiwihui committed May 30, 2021
1 parent dcde408 commit 9e8ee01
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
codedays
Codedays - 每日一题,增加面试成功率
===

1. 创建目录
每天发送一道关于数据结构和算法的题目,以及提供前一天题目的答案。

- /var/log/codedays
- /opt/projects/
- /opt/projects/codedays
- /opt/projects/codedays/cad_server
- /opt/projects/codedays/cad_fe
- /opt/projects/codedays/cad_fe/dist
- /opt/projects/codedays_data/mysql
网址:[codedays.app](https://codedays.qiwihui.com/)

2. install docker and docker-compose
## 如何运行项目

### 前端

```shell
cd cad_fe
npm i
npm run serve
```

### 后端

```shell
cd cad_server
pip install -r requirements.txt
python manage.py runserver
```

## 生产部署

参见 `.github/workflows/deploy.yml`

0 comments on commit 9e8ee01

Please sign in to comment.