A web-based drawing app
git clone git://soophie.de/outline
blob: 7da863fcdcb7f4feeaf11ba6807534146b2cf83d (1365 bytes)[doc][blame][raw]
1
# Outline3
## Installation5
The following steps are required in order to serve the website locally.7
### Deployment9
Define the target hosting site for deployment.11
```bash12
$ firebase target:apply hosting outline-website outline-website13
$ firebase deploy --only hosting14
```16
<!--17
### Canvas Module Libraries19
The following libraries are required in order to build and execute the *canvas* module properly.21
```bash22
$ sudo apt-get update23
$ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev24
```26
Now the node module can be installed.28
```bash29
$ npm run build30
```32
### Grant Port Binding34
The following command makes it for node possible to bind a port beneath *1024*. The command must be execute after every single `apt-get update`.36
```bash37
$ sudo setcap 'cap_net_bin_service=+ep' `which node`38
```40
### Grant Certificate Access42
The following commands enables node to read from the directories and files generate from *Certbot*.44
```bash45
$ sudo chmod 0755 /etc/letsencrypt/{live,archive}46
$ sudo chmod 0640 /etc/letsencrypt/live/<domain>/privkey.pem47
$ sudo chown -R <user>:<user> /etc/letsencrypt/live/<domain>/privkey.pem48
```49
-->51
## Launch53
### Frontend55
The following command starts the *Firebase Hosting* service, which provides the frontend.57
```bash58
$ npm run live // Port 8059
$ npm run test // Port 808060
```