PostgrestSkeleton

(β˜… 111)

Skeleton web stack using Docker Compose, PostgreSQL, PostgREST, Nginx and Auth0.

  • .gitignore
  • docker-compose.yml
  • LICENSE
  • live.yml
  • make-backup
  • make-dhparam
  • nginx-init
  • post-receive
  • README.md
  • rebuild
  • restore-backup
  • server.key
  • site.conf

# Installation Guide

1. Get the code
git clone https://github.com/recmo/PostgrestSkeleton

Downloads the entire project code from GitHub to your computer.

cd PostgrestSkeleton

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • APT (Debian/Ubuntu 계열) Built into Debian/Ubuntu-based Linux distributions.
sudo apt-get install apt-transport-https ca-certificates

Installs directly from the APT package repository (Debian/Ubuntu-based).

sudo apt-get install linux-image-extra-$(uname -r) git curl docker-engine openssl

Installs directly from the APT package repository (Debian/Ubuntu-based).

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list

Type this command into your terminal and run it.

sudo apt-get purge lxc-docker

Type this command into your terminal and run it.

sudo apt-get install linux-image-extra-$(uname -r) git curl docker-engine openssl

Installs directly from the APT package repository (Debian/Ubuntu-based).

curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` | sudo tee /usr/local/bin/docker-compose > /dev/null

Runs the command against the services defined in the compose file.

sudo chmod +x /usr/local/bin/docker-compose

Runs the command against the services defined in the compose file.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

// repository documentation