From e8c4faff8e441a8cb0c37a8c6845a7294ca30131 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Thu, 20 Aug 2020 21:38:35 +0200 Subject: [PATCH] Minor corrections. --- Readme.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index ff4ceda..fe24285 100644 --- a/Readme.md +++ b/Readme.md @@ -9,9 +9,11 @@ Right now it depends on the following non-core Python 3 libraries. These can be * [django](https://www.djangoproject.com/) django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. * [easy-thumbnails](https://github.com/SmileyChris/easy-thumbnails) A powerful, yet easy to implement thumbnailing application for Django 1.11+ - * [image](https://github.com/francescortiz/image) Image cropping for djanbgo + * [image](https://github.com/francescortiz/image) Image cropping for django * [django-widget-tweaks](https://github.com/jazzband/django-widget-tweaks) Tweak the form field rendering in templates, not in python-level form definitions. + +## Development ### Setting up a (pipenv) virtual environment for development After having obtained the repository contents (either via .zip download or git clone), you can easily setup a pipenv virtual environment. The repo provides a Pipfile for easy dependency management that does not mess with your system. @@ -20,6 +22,7 @@ After having obtained the repository contents (either via .zip download or git c $ cd lostplaces-backend $ pipenv install $ pipenv shell +(lostplaces-backend) $ lostplaces/manage.py makemigrations (lostplaces-backend) $ lostplaces/manage.py migrate (lostplaces-backend) $ lostplaces/manage.py createsuperuser (lostplaces-backend) $ lostplaces/manage.py runserver @@ -40,7 +43,7 @@ Visit: [admin](http://localhost:8000/admin) for administrative backend or ### Install dependencies Python3, Django3, easy-thumbnails, image, django-widget-tweaks ``` -pip install django easy-thumbnails image django-widget-tweaks +pip install --user django easy-thumbnails image django-widget-tweaks ``` Or, if you use pipenv ```