summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-17 18:25:48 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-17 18:25:48 -0400
commit813b5bd600ad0bcbb261f945f75dd184eb47bc60 (patch)
tree3980c6cbc92a80cbd00363caecfff5539b6be349
parente481fd7e164f457809fa6239097a02f3d8544df2 (diff)
update developer documentation
-rw-r--r--HACKING24
-rw-r--r--README.md17
2 files changed, 37 insertions, 4 deletions
diff --git a/HACKING b/HACKING
index 2731a584..a8b7e65d 100644
--- a/HACKING
+++ b/HACKING
@@ -1,3 +1,27 @@
+# Parabolaweb HACKING
+
+Things you should know:
+
+1. You don't need to mess with the fixtures every time you want to add
+ something. It's OK to just add it through the web-based admin
+ interface. The fixtures are for setting up the inital data that
+ things might not work without.
+
+2. Please don't add new pages to the `legacy_urls` list in `urls.py`.
+ It's for old, compatibility URLs. But once it's added there, it's
+ there forever, don't remove it.
+
+Which branch you should use:
+
+ - If it's a Parabola-specific change, put it on `master`.
+ - If it's not Parabola-specific, put it on `archweb-generic`, then
+ merge it into `master`.
+
+Following is Archweb's version of the HACKING file; you should follow
+it too.
+
+# Archweb HACKING
+
Contributing
======================
diff --git a/README.md b/README.md
index 7754d961..ee3c9cca 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,19 @@
# Parabolaweb README
-It is recommended that you just install the (parabola) package
+
+It is recommended that you just install the (Parabola) package
`parabolaweb-utils`, it
- - depends on the dependencies of parabolaweb
- - offers initscripts and systemd service files for parabolaweb
- - has a `parabolaweb-update` script that does most of the things here.
+ - depends on the dependencies of parabolaweb (that is, don't use
+ virtualenv)
+ - has a `parabolaweb-update` program that does most of the things here
+ - has a `parabolaweb-changepassword` program that allows system users
+ to change their parabolaweb password
+ - has `/etc/uwsgi/parabolaweb.ini.example`
+
+To run parabolaweb, you can use `./manage testserver` to run a small
+HTTP server, or run `systemctl enable --now uwsgi@parabolaweb.socket`,
+and stick that behind a proper web server that speaks WSGI (such as
+Nginx).
Following is Archweb's readme, as I figure it might be useful for some people,
but I have given up on maintaining it for parabolaweb.