Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Admin in 10 seconds
- Add a
citizen's email to the
- Log into DemocracyOS and navigate to
- Manage your
laws. You need to create at least one
tagbefore creating any
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
lawhas to be created before you can add
clauses to it.
lawhas to be published from the admin module before it shows on DemocracyOS.
law's summary, as well as its
clausescan hold HTML. This is useful for embedding links, images, videos and whatnot to a
law's content. Do consider the responsiveness of your additional HTML code.
citizens may be authorized to access the administration module by adding their emails to the
STAFFenv variable, separated by a comma (e.g.:
firstname.lastname@example.org,email@example.com). If you're using a configuration file, the
STAFFsetting should be set as a JSON holding these emails (e.g.:
STAFF: ["firstname.lastname@example.org", "email@example.com"]).
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