File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Madek Hosting Guide
2+
13## quickstart
24
351 . [ "Fork" this repository on github] ( https://github.com/Madek/madek-instance/fork )
2123 - global config in file ` group_vars/madek.yml `
2224 - per-host config in file ` host_vars/madek.example.com.yml ` , rename it to match the hostname
2325
24- 1 . install ` ansible-playbook -i hosts Madek/deploy/play_setup-and-deploy.yml `
26+ 1 . install with ansible
27+ ``` sh
28+ ansible-playbook -i hosts Madek/deploy/play_setup-and-deploy.yml
29+ ```
30+
31+ 1 . setup initial configuration & admin account:
32+ ``` sh
33+ ansible-playbook -i hosts Madek/deploy/play_first-time-setup.yml
34+ ```
35+
36+ ## backup
37+
38+ A ` master_secret ` was created during the installation and put in a text file
39+ in your repository.
40+ By default it is git-ignored, so it won't be accidentially pushed to a public
41+ host (like GitHub).
42+ You should either back up your local repository to a secure place;
43+ or use [ ` git-crypt ` ] ( https://www.agwa.name/projects/git-crypt/ ) to add the
44+ secret to the repository in encrypted form (* recommended* ).
45+
46+ ## upgrade
47+
48+ 1 . update Madek submodule reference to latest release
49+ - either by accepting a Pull Request (when enabled)
50+ - or manually: ` cd Madek && git fetch && git reset --hard origin/release && cd - `
2551
26- 1 . ( setup admin account)
52+ 1 . run the setup playbook again: ` ansible-playbook -i hosts Madek/deploy/play_setup-and-deploy.yml `
You can’t perform that action at this time.
0 commit comments