summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-07-13 10:33:30 +0200
committerpennae <github@quasiparticle.net>2022-07-13 13:27:12 +0200
commit2f8dce44d3f2be74b5c6ec0a2e7f4ceced715328 (patch)
treecaff55807c5fc773a36aa773cfde9cd6ebbbb6c8 /README.md
downloadminor-skulk-2f8dce44d3f2be74b5c6ec0a2e7f4ceced715328.tar.gz
minor-skulk-2f8dce44d3f2be74b5c6ec0a2e7f4ceced715328.tar.xz
minor-skulk-2f8dce44d3f2be74b5c6ec0a2e7f4ceced715328.zip
initial import
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3da6105
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# installation
+
+ * compile minor-skulk with `cargo build`.
+ * edit `Rocket.toml`, settings values for all the mandatory parameters
+ * for test deployments it's sufficient to use the http server provided by
+ minor-skulk. live deployments **must** use a reverse proxy to add TLS!
+ * install [syncstorage-rs](https://github.com/mozilla-services/syncstorage-rs)
+ * configure syncstorage-rs for a single-node setup as exemplified in
+ [this nixos module](https://github.com/NixOS/nixpkgs/pull/176835).
+ you will also have to set `tokenserver.fxa_oauth_server_url` as
+ noted in `Rocket.toml`, otherwise actual sync will not work.
+
+# configuring firefox desktop
+
+go to `about:config` and set `identity.fxaccounts.autoconfig.uri` to
+the address of your server, e.g. `http://localhost:8000` if you're just
+starting minor-skulk locally for testing. if you are not using https you
+must also create a `identity.fxaccounts.allowHttp` settings with value `true`,
+otherwise firefox will not accept the config. restart firefox for the
+changes to take effect, then create an account or log in as usual.
+
+# configuring firefox android
+
+this is a sufficiently involved process that the web interface has a
+dedicated guide. just open the url of your server in firefox on android
+and follow the guide. ("just". we're so sorry.)