UPD: beautified INSTALL.rst

This commit is contained in:
2018-12-13 21:19:16 +01:00
parent 4495322574
commit d844ca3172

View File

@@ -11,9 +11,9 @@ For production use you surly want a real web server that supports WSGI
QUICK INSTALLATION FOR THE IMPATIENT QUICK INSTALLATION FOR THE IMPATIENT
==================================== ====================================
python setup.py mkpyenv - python setup.py mkpyenv
source env/python/bin/activate - source env/python/bin/activate
python setup.py quickdev - python setup.py quickdev
INSTALLATION INSTALLATION
@@ -53,8 +53,8 @@ INSTALLATION
2. Install files 2. Install files
---------------- ----------------
* ``python setup.py develop`` - ``python setup.py develop``
* ``django-dav-events-admin setup ./env/django`` - ``django-dav-events-admin setup ./env/django``
The django project directory ('./env/django' within the previous example) The django project directory ('./env/django' within the previous example)
will be called *project root* for now on. will be called *project root* for now on.
@@ -69,27 +69,27 @@ INSTALLATION
Change into the *project root* (where the file ``manage.py`` lives) Change into the *project root* (where the file ``manage.py`` lives)
and run and run
* ``python manage.py enable_module dav_auth`` - ``python manage.py enable_module dav_auth``
* ``python manage.py enable_module dav_events`` - ``python manage.py enable_module dav_events``
4. Create the database schema / Populate the database 4. Create the database schema / Populate the database
----------------------------------------------------- -----------------------------------------------------
While you still are in the *project root* directory, run While you still are in the *project root* directory, run
* ``python manage.py makemigrations`` - ``python manage.py makemigrations``
* ``python manage.py migrate`` - ``python manage.py migrate``
5. Create a super user or administrator account 5. Create a super user or administrator account
----------------------------------------------- -----------------------------------------------
While you still are in the *project root* directory, run While you still are in the *project root* directory, run
* ``python manage.py createsuperuser`` - ``python manage.py createsuperuser``
6. Start test server 6. Start test server
-------------------- --------------------
While you still are in the *project root* directory, run While you still are in the *project root* directory, run
``python manage.py runserver`` - ``python manage.py runserver``
Now you should be able to connect to the test server via Now you should be able to connect to the test server via