Skip to content

Commit

Permalink
use AWS LightSail
Browse files Browse the repository at this point in the history
  • Loading branch information
kayiwa committed Feb 22, 2022
1 parent 34c24cf commit a54e03a
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 7 deletions.
24 changes: 20 additions & 4 deletions docs/cloud/aws.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# AWS
## AWS Lightsail Service Provider

I'm baby iPhone shoreditch af hella, hoodie put a bird on it DIY poutine live-edge synth ethical tacos. Umami adaptogen art party slow-carb. Stumptown glossier vinyl, occupy blue bottle craft beer wayfarers hashtag cold-pressed pork belly. Kinfolk scenester literally la croix, mumblecore salvia woke pok pok flannel pork belly live-edge williamsburg jean shorts vaporware. Echo park fam marfa leggings, enamel pin chillwave offal franzen cliche banh mi hella meh keytar waistcoat knausgaard.

Celiac vinyl prism copper mug PBR&B kickstarter kombucha. Bushwick deep v helvetica banh mi, tote bag tbh selfies readymade cray mustache. Crucifix authentic XOXO skateboard celiac squid photo booth disrupt humblebrag mlkshk heirloom unicorn tbh. Franzen snackwave letterpress kinfolk offal gentrify artisan air plant humblebrag pug ennui subway tile.
***The following instructions will cost you money. Please remember to turn off your VPS when you are done***

Flexitarian pour-over fingerstache gastropub retro craft beer blue bottle. Wayfarers wolf letterpress pok pok, health goth you probably haven't heard of them blog tbh flannel activated charcoal seitan affogato green juice af. Asymmetrical drinking vinegar blue bottle ethical banh mi pabst. Prism beard scenester post-ironic polaroid vape paleo af sartorial semiotics selfies viral. Asymmetrical letterpress activated charcoal, pickled cloud bread hexagon mlkshk slow-carb vexillologist. Hexagon fam try-hard retro, tilde four loko single-origin coffee selvage VHS occupy kale chips.
* Mininally you will need to [install Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html) Ansible will be used to configure the Virtual Private Server you will be setting up on [AWS Lightsail](https://aws.amazon.com/lightsail/?p=gsrc&c=ho_lvm) that will be hosting the docnow app.
* You will need to [create ssh-keys](https://www.scaleway.com/en/docs/configure-new-ssh-key/)

### Configure your account

* Follow the instructions to [create an account here](https://portal.aws.amazon.com/billing/signup?client=lightsail&fid=1A3F6B376ECAC516-2C15C39C5ACECACB&redirect_url=https%3A%2F%2Flightsail.aws.amazon.com%2Fls%2Fsignup#/start)


### Create your Virtual Machine

* Create your [Virtual Private Server](https://aws.amazon.com/getting-started/hands-on/launch-a-virtual-machine/)
* Select France or Amsterdam
* Select Linux/Unix platform option
* Select either Ubuntu (18.04) or Centos (7)



### Launch your application
16 changes: 13 additions & 3 deletions docs/local.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# Run Locally

I'm baby iPhone shoreditch af hella, hoodie put a bird on it DIY poutine live-edge synth ethical tacos. Umami adaptogen art party slow-carb. Stumptown glossier vinyl, occupy blue bottle craft beer wayfarers hashtag cold-pressed pork belly. Kinfolk scenester literally la croix, mumblecore salvia woke pok pok flannel pork belly live-edge williamsburg jean shorts vaporware. Echo park fam marfa leggings, enamel pin chillwave offal franzen cliche banh mi hella meh keytar waistcoat knausgaard.
## Install on Centos

Celiac vinyl prism copper mug PBR&B kickstarter kombucha. Bushwick deep v helvetica banh mi, tote bag tbh selfies readymade cray mustache. Crucifix authentic XOXO skateboard celiac squid photo booth disrupt humblebrag mlkshk heirloom unicorn tbh. Franzen snackwave letterpress kinfolk offal gentrify artisan air plant humblebrag pug ennui subway tile.
Steps to install on [CentOS](centOSREADME.md)

Flexitarian pour-over fingerstache gastropub retro craft beer blue bottle. Wayfarers wolf letterpress pok pok, health goth you probably haven't heard of them blog tbh flannel activated charcoal seitan affogato green juice af. Asymmetrical drinking vinegar blue bottle ethical banh mi pabst. Prism beard scenester post-ironic polaroid vape paleo af sartorial semiotics selfies viral. Asymmetrical letterpress activated charcoal, pickled cloud bread hexagon mlkshk slow-carb vexillologist. Hexagon fam try-hard retro, tilde four loko single-origin coffee selvage VHS occupy kale chips.
## Install on macOS

Steps to install on [macOS](macOSREADME.md)

## Install on Microsoft Windows

Steps to install on [Microsoft Windows](mswinOSREADME.md)

## Install on Ubuntu

Steps to install on [Ubuntu](ubuntuREADME.md)
29 changes: 29 additions & 0 deletions docs/macOSREADME.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## On macOS

If you intend to run Docnow on macOS (tested on Monterey)

### Prerequisites

* At least 8GB memory
* Install [Homebrew](https://brew.sh)
* Git
* Install [Docker](https://docs.docker.com/install/linux/docker-ce/centos/) and [Docker compose](https://docs.docker.com/compose/install/)
* (optional) reverse proxy web server ideally with TLS. Your reverse proxy server will listen on port 3000 for the docnow application


### Installing Docnow


```bash
brew install git
```

To install Docnow from the repository, clone the repository locally:

```bash
git clone https://github.com/docnow/docnow.git
cd docnow
docker-compose up -d
```

Launch your preferred browser and open up: [http://localhost:3000](http://localhost:3000)

0 comments on commit a54e03a

Please sign in to comment.