-
Notifications
You must be signed in to change notification settings - Fork 617
Admin module
- Add a
citizen's email to theSTAFFenvironment variable. - Log into DemocracyOS and navigate to
/admin. - Manage your
tags andlaws. You need to create at least onetagbefore creating anylaws.
In order to keep your DemocracyOS alive and kicking, you'll need to manage its content. Specifically, you'll need to update it with new laws and update them as well.
This can all be done through standard database querying as shown in the loading fixtures section.
However, for all those non-developers out there, this won't suffice. Luckily, there's an administration module for authorized citizens to manage the site's content without them knowing code at all (though knowing some HTML will help).
[Tutorial] (https://www.youtube.com/watch?v=wpVyYYSlRIk&feature=youtu.be): How to use the admin
-
A
lawhas to be created before you can addclauses to it. -
A
lawhas to be published from the admin module before it shows on DemocracyOS. -
A
law's summary, as well as itsclausescan hold HTML. This is useful for embedding links, images, videos and whatnot to alaw's content. Do consider the responsiveness of your additional HTML code. -
Multiple
citizens may be authorized to access the administration module by adding their emails to theSTAFFenv variable, separated by a comma (e.g.:[email protected],[email protected]). If you're using a configuration file, theSTAFFsetting should be set as a JSON holding these emails (e.g.:STAFF: ["[email protected]", "[email protected]"]).
###Known Issues
Creating a law with a previously used Official ID will fail silently. Until we fix this please try a different Official ID for a new law if creation fails.
####HTML edition for uploading laws and articles in DemocracyOS
<strong> bold type </strong>
<i> italics </i>
<img src= “http://www.mediawow.co.uk/wp/wp-content/uploads/2014/01/net-neutrality.jpg”>
The image URL always goes between quotation marks
<br> → line break
<br> <br> → double line break
Visit our official website - Developed by Democracia en Red and contributors from the world over!