simple python-django web with image scrapper
- image scrapping (get image from url)
- random thumb
- featherlight gallery
- simple and fast organizing content (no need manual input admin)
- zipped gallery
-
create virtualenv, eg.
virtualenv venv
-
activate virtualenv, install requirement -->
pip install -r requirements.txt
-
rename settings.py.example in folder
bokepdo
to settings.py -
change serving STATIC and MEDIA depend your config server(apache, nginx, etc...) see: https://docs.djangoproject.com/en/1.10/howto/static-files/
-
python manage.py collectstatic
thenyes
-
python manage.py migrate
(this step render default django model) -
python manage.py makemigrations dashboard_admin
(this step render model aps) -
python manage.py migrate dashboard_admin
-
start the server by
python manage.py runserver
PORT -
open http://localhost:**PORT** in web browser, see urls.py for more details
-
localhost:port/scrap , to scrapping image, login by default user/pass -->
root
:root