You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
542 B

6 years ago
# telegram-archivist
## Development (Quickstart)
* Install dependencies:
```bash
6 years ago
$ sudo apt-get install python3 python3-pip virtualenv python3-virtualenv
```
6 years ago
* Setup the virtual environment with python3
```bash
6 years ago
$ virtualenv -p python3 env
```
6 years ago
* Activate the environment, install dependencies, perform DB migration
```bash
6 years ago
$ . 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`