Bootstrapping a README

This commit is contained in:
Luke Murphy 2020-03-22 13:01:07 +01:00
parent a4e8406de8
commit 95cf60b471
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,41 @@
# gitea
> https://gitea.io/
## Setup
### Pre-requisites
1. You have SSH access to dokku.autonomic.zone
1. 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](https://gitlab.com/autonomic-cooperative/infrastructure)
1. Copy the sample file: `cp .envrc.sample .envrc`
1. Ensure that the .envrc PASSWORD_STORE_DIR env var points to the infrastructure/credentials/password-store
### Python
```bash
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
```
## Deploy
```bash
$ git remote add dokku dokku@dokku.autonomic.zone:gitea
$ git push dokku
```