Skip to content

Commit

Permalink
finish user management section
Browse files Browse the repository at this point in the history
  • Loading branch information
landam committed Jul 11, 2017
1 parent de57793 commit a9f27a7
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 6 deletions.
File renamed without changes
Binary file added docs/img/installation/empty-project.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/installation/login-screen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion docs/installation/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ line ``33``), https://localhost

.. figure:: ../img/installation/ssl-exception.png

.. figure:: ../img/installation/docker-login.png
.. figure:: ../img/installation/docker-screen.png

Gisquick login screen.

Expand Down
27 changes: 23 additions & 4 deletions docs/installation/user-management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@ In the case of virtual server deployed using Vagrant, see
.. code-block:: bash
$ vagrant ssh
Afterwards on the server enter Django shell

.. code-block:: bash
$ workon gisquick
$ python $HOME/deploy/www/manage.py shell
When running Gisquick by Docker containers, see :doc:`docker`, at
first Django app docker must be identified. The following command will
enter Django shell.
first Django app docker container must be identified. The following
command will also enter Django shell.

.. code-block:: bash
Expand All @@ -32,8 +38,21 @@ Then you can create users programmatically
get_user_model().objects.create_user('user1', email='user@gisquick.org',
password='user1', first_name='User1')
Django shell can be quited by
To quit Django shell type

.. code-block:: python
exit()
Then new user can log in into Gisquick application.

.. figure:: ../img/installation/login-screen.png

Log in as *user1*.

After log in an empty Gisquick project is loaded.

.. figure:: ../img/installation/empty-project.png

Empty Gisquick project. OpenStreetMap is used as base layer.

2 changes: 1 addition & 1 deletion docs/installation/vagrant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ called from server prompt.
Afterwards Gisquick can be accessed on https://localhost:8000.
.. figure:: ../img/installation/vagrant-login.png
.. figure:: ../img/installation/vagrant-screen.png
Development services can be stopped from server terminal by ``tmux``
command.
Expand Down

0 comments on commit a9f27a7

Please sign in to comment.