Update aws.md

This commit is contained in:
Pierre Balzack 2022-11-16 19:36:53 -08:00 committed by GitHub
parent 8483028071
commit 9ceb0ae085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ These instructions assume you have the following setup:
## Step 1: obtain cert ## Step 1: obtain cert
sudo apt-get install certbot<br/> sudo apt-get install certbot<br/>
sudo certbot certonly --standalone -d <dns name><br/> sudo certbot certonly --standalone -d [dns name]<br/>
## Step 2: install databag dependencies ## Step 2: install databag dependencies
sudo apt-get -y install ffmpeg<br/> sudo apt-get -y install ffmpeg<br/>
@ -50,7 +50,7 @@ These instructions assume you have the following setup:
mkdir -p /opt/databag/transform<br/> mkdir -p /opt/databag/transform<br/>
cp /app/databag/net/container/transform/* /opt/databag/transform/<br/> cp /app/databag/net/container/transform/* /opt/databag/transform/<br/>
## Step 6: install and mount EFS ## Step 6: mount EFS to store assets
sudo apt-get update<br/> sudo apt-get update<br/>
sudo apt-get -y install git binutils<br/> sudo apt-get -y install git binutils<br/>
git clone https://github.com/aws/efs-utils<br/> git clone https://github.com/aws/efs-utils<br/>
@ -68,14 +68,14 @@ These instructions assume you have the following setup:
## Step 8: launch the server ## Step 8: launch the server
cd /app/databag/net/server<br/> cd /app/databag/net/server<br/>
nohup nice -n -5 /usr/local/go/bin/go run databag <dns name> &<br/> nohup nice -n -5 /usr/local/go/bin/go run databag [dns name] &<br/>
## Step 9: configure the server ## Step 9: configure the server
Open your brower to the pi hostname<br/> Open your brower to the pi hostname<br/>
Click the 'cog' in the upper right<br/> Click the 'cog' in the upper right<br/>
Set an admin password<br/> Set an admin password<br/>
Select the 'cog' to bring up the settings modal<br/> Select the 'cog' to bring up the settings modal<br/>
- set your hostname as <dns name><br/> - set your hostname as [dns name]<br/>
- set the key to RSA 2048<br/> - set the key to RSA 2048<br/>
- enable push notifications<br/> - enable push notifications<br/>
- enable images<br/> - enable images<br/>