您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
Tanner Collin
4584d459b7
|
6 年前 | |
---|---|---|
archivist | 6 年前 | |
.gitignore | 6 年前 | |
README.md | 6 年前 | |
manage.py | 6 年前 |
README.md
telegram-archivist
Development (Quickstart)
- Install dependencies:
$ sudo apt-get install python3 python3-pip virtualenv python3-virtualenv
- Setup the virtual environment with python3
$ virtualenv -p python3 env
- Activate the environment, install dependencies, perform DB migration
$ . env/bin/activate
(env) $ pip install -r requirements.txt
(env) $ python manage.py migrate
(env) $ python manage.py runserver
If you get a no such table error, try: python manage.py migrate --run-syncdb