Self-deployable tool for seeding dat:// websites
This repository has been archived on 2020-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Luke Murphy f01c702049
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Use single line
2020-03-25 20:17:47 +01:00
ansible Use right formatting 2020-03-25 19:00:28 +01:00
sbin Bootstrap homebase application 2020-03-25 18:38:57 +01:00
.drone.yml Use single line 2020-03-25 20:17:47 +01:00
.envrc.sample Bootstrap homebase application 2020-03-25 18:38:57 +01:00
app.json Bootstrap homebase application 2020-03-25 18:38:57 +01:00
CHECKS Bootstrap homebase application 2020-03-25 18:38:57 +01:00
Dockerfile Get in right directory 2020-03-25 19:15:48 +01:00
README.md Update with right badge 2020-03-25 19:37:50 +01:00
requirements.txt Bootstrap homebase application 2020-03-25 18:38:57 +01:00

homebase

Build Status

https://github.com/beakerbrowser/homebase

Setup

Pre-requisites

  1. You have SSH access to dokku.autonomic.zone
  2. You have sudo privilege escalation working
Host dokku.autonomic.zone
  Hostname dokku.autonomic.zone
  User <your-username>
  Port 222
  IdentityFile ~/.ssh/<your-ssh-key-private-file>

See the password-store under autonomic-dokku for your sudo password.

Environment

  1. Clone the infrastructure repository
  2. Copy the sample file: cp .envrc.sample .envrc
  3. Ensure that the .envrc PASSWORD_STORE_DIR env var points to the infrastructure/credentials/password-store

Python

You only need to do this if you're working with Ansible vault (encrypting/decrypting new secrets).

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

Deploy

$ git remote add dokku dokku@dokku.autonomic.zone:homebase
$ git push dokku

Adding Dats

  • Edit ansible/vars/all.yml and add to the dats variable
  • Git push and Drone will deploy the new copy of Homebase