Skip to content
Snippets Groups Projects
Commit b2b8284c authored by Alice Poggioli's avatar Alice Poggioli
Browse files

update

parent 07b5f5ae
No related branches found
No related tags found
No related merge requests found
How to use SiB server
####################
####################
Once we've `install you server <install-sib-server.html>`__, we now are going to see how to use you it.
Django references
..................
------------------
As SiB server is a DjangoLDP server, you'll need some parts of Django documentation :
* `The Django models documentation <https://docs.djangoproject.com/fr/2.2/topics/db/models/>`__
......@@ -175,7 +175,7 @@ You could also only use this line in settings.py instead:
ROOT_URLCONF = 'djangoldp.urls'
3. Set up your application
4. Set up your application
============================
In the settings.py file, add your application name at the beginning of the application list, and add the following lines
......@@ -203,7 +203,7 @@ In the settings.py file, add your application name at the beginning of the appli
.. note::
More documentation about context is coming soon
4. Register your model in the Django administration
5. Register your model in the Django administration
======================================================
You can also register your model for the django administration site in admin.py.
......@@ -214,10 +214,9 @@ You can also register your model for the django administration site in admin.py.
admin.site.register(Todo)
You then need to have your WSGI server pointing on
sibserver/sibserver/wsgi.py
You then need to have your WSGI server pointing on sibserver/sibserver/wsgi.py
5. Create a super user
6. Create a super user
========================
You will probably need to create a super user
......
......@@ -50,6 +50,7 @@ Configure your LDP packages
The configuration of the packages goes in packages.yml file in the ldppackages section. Those following ones are given as an example. Yours depend on what your app does.
Here you have :
* `a list of all the package available <https://git.startinblox.com/djangoldp-packages/>`___
* `Explanation on how to make one <develop-sib-ldp-packages.html>`__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment