Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/logvinovleon/www_2
WWW Lab second project
https://github.com/logvinovleon/www_2
Last synced: 17 days ago
JSON representation
WWW Lab second project
- Host: GitHub
- URL: https://github.com/logvinovleon/www_2
- Owner: LogvinovLeon
- Created: 2015-04-30T19:55:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-16T15:29:46.000Z (over 9 years ago)
- Last Synced: 2024-10-31T15:23:40.797Z (2 months ago)
- Language: Python
- Size: 422 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WWW_2 Lab second project
How to play with it?
```sh
git clone https://github.com/LogvinovLeon/WWW_2.git
cd WWW_2
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
```In the case of problems with installing lxml:
Fast fix for debian-based systems:
```sh
apt-get install libxml2-dev libxslt-dev
```
Or otherwise: [Instalation guide](http://lxml.de/installation.html)
```sh
./manage.py syncdb && ./manage.py crawl | tee log.txt
```
It will start crawling (takes a lot of time), but you can already start using the app. To do it, open another terminal and paste:
```sh
./manage.py runserver
```
It'll work, but database writes will be way too slow. You can stop crawlers and see, that after that it will be as fast as FFT.