Minor corrections.
This commit is contained in:
parent
0b0a401486
commit
e8c4faff8e
@ -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.
|
* [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+
|
* [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.
|
* [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
|
### 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.
|
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
|
$ cd lostplaces-backend
|
||||||
$ pipenv install
|
$ pipenv install
|
||||||
$ pipenv shell
|
$ pipenv shell
|
||||||
|
(lostplaces-backend) $ lostplaces/manage.py makemigrations
|
||||||
(lostplaces-backend) $ lostplaces/manage.py migrate
|
(lostplaces-backend) $ lostplaces/manage.py migrate
|
||||||
(lostplaces-backend) $ lostplaces/manage.py createsuperuser
|
(lostplaces-backend) $ lostplaces/manage.py createsuperuser
|
||||||
(lostplaces-backend) $ lostplaces/manage.py runserver
|
(lostplaces-backend) $ lostplaces/manage.py runserver
|
||||||
@ -40,7 +43,7 @@ Visit: [admin](http://localhost:8000/admin) for administrative backend or
|
|||||||
### Install dependencies
|
### Install dependencies
|
||||||
Python3, Django3, easy-thumbnails, image, django-widget-tweaks
|
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
|
Or, if you use pipenv
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user