-
Notifications
You must be signed in to change notification settings - Fork 616
Admin module
- Add a
citizen
's email to theSTAFF
environment variable. - Log into DemocracyOS and navigate to
/admin
. - Manage your
tag
s andlaw
s. You need to create at least onetag
before creating anylaw
s.
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 law
s 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 citizen
s 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
law
has to be created before you can addclause
s to it. -
A
law
has to be published from the admin module before it shows on DemocracyOS. -
A
law
's summary, as well as itsclauses
can 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
citizen
s may be authorized to access the administration module by adding their emails to theSTAFF
env variable, separated by a comma (e.g.:[email protected],[email protected]
). If you're using a configuration file, theSTAFF
setting 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!