Merged in brycenesbitt/umap-bryce/install-doc-fixes (pull request #5)
Found some documentation errors when trying to install uMap
This commit is contained in:
commit
451e952aff
3 changed files with 15 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ umap/settings/local.py
|
||||||
umap/settings/local/*
|
umap/settings/local/*
|
||||||
docs/_build
|
docs/_build
|
||||||
umap/remote_static
|
umap/remote_static
|
||||||
|
.idea
|
||||||
|
|
18
README.rst
18
README.rst
|
@ -13,14 +13,15 @@ Quickstart
|
||||||
|
|
||||||
Create a geo aware database. See `Geodjango doc <https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/>`_ for backend installation.
|
Create a geo aware database. See `Geodjango doc <https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/>`_ for backend installation.
|
||||||
|
|
||||||
Create a virtualenv::
|
Create a virtual environment::
|
||||||
|
|
||||||
mkvirtualenv umap
|
virtualenv umap
|
||||||
|
source umap/bin/activate
|
||||||
|
|
||||||
Install dependencies and project::
|
Install dependencies and project::
|
||||||
|
|
||||||
cd path/to/umap/repository
|
cd YOUR_SOURCE_DIR
|
||||||
git checkout 0.7.6
|
git clone git clone https://bitbucket.org/yohanboniface/umap.git
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
|
@ -72,14 +73,19 @@ Collect and compress the statics::
|
||||||
python manage.py collectstatic
|
python manage.py collectstatic
|
||||||
python manage.py compress
|
python manage.py compress
|
||||||
|
|
||||||
|
Add a site object::
|
||||||
|
python manage.py shell
|
||||||
|
from django.contrib.sites.models import Site
|
||||||
|
Site.objects.create(name='example.com', domain='example.com')
|
||||||
|
|
||||||
Start the server::
|
Start the server::
|
||||||
|
|
||||||
python manage.py runserver 0.0.0.0:8000
|
python manage.py runserver 0.0.0.0:8000
|
||||||
|
|
||||||
Go to the admin (http://localhost:8000/admin/) and add:
|
Go to the admin (http://localhost:8000/admin/) and add:
|
||||||
|
|
||||||
- almost one license
|
- at least one license
|
||||||
- almost one tilelayer
|
- at least one tile layer
|
||||||
|
|
||||||
Translating
|
Translating
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
{% include "leaflet_storage/map_list.html" %}
|
{% include "leaflet_storage/map_list.html" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div>
|
<div>
|
||||||
{{ current_user }} has not map yet.
|
{{ current_user }} has no maps.
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue