Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Lessica authored Nov 30, 2019
1 parent ba56a25 commit 799c433
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Enable package versions and assign them into sections.

7. `WEIPDCRM -> Builds`

Build the repository to apply all the changes.
Build the repository to apply all the changes, thus you cannot add this repo in Cydia.
构建全源, 让所有更改生效 (第一次构建前, Cydia 中是无法添加该源的)


Expand Down Expand Up @@ -256,7 +256,7 @@ apt-get install memcached
service memcached start
```

9. edit `DCRM/settings.py`:
9. modify `DCRM/settings.py`:

1. set a random `SECRET_KEY`, which must be unique
2. add your domain into `ALLOWED_HOSTS`
Expand Down Expand Up @@ -304,11 +304,7 @@ We assumed that nginx uses `www-data` as its user and group.
### 4.3.1. Configure UWSGI
<a id="markdown-configure-uwsgi" name="configure-uwsgi"></a>

在 DCRM 目录下创建 `uwsgi.ini`:

```bash
touch uwsgi.ini
```
here is an example of `uwsgi.ini`:

```ini
[uwsgi]
Expand All @@ -329,6 +325,7 @@ safe-pidfile = /home/run/uwsgi-apt.pid
; daemonize = /dev/null
```


### 4.3.2. UWSGI Commands
<a id="markdown-uwsgi-commands" name="uwsgi-commands"></a>

Expand All @@ -354,6 +351,8 @@ kill -INT `cat /home/run/uwsgi-apt.pid`
### 4.3.3. Configure NGINX
<a id="markdown-configure-nginx" name="configure-nginx"></a>

here is an example of nginx https site configuration file:

```nginx
upstream django {
server 127.0.0.1:8001; # to match your uwsgi configuration
Expand Down

0 comments on commit 799c433

Please sign in to comment.