您最多选择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