Skip to content

Latest commit

 

History

History
28 lines (27 loc) · 610 Bytes

File metadata and controls

28 lines (27 loc) · 610 Bytes

heloe

This repository will help you to bootstrap new application on a fresh ubuntu server with:

  • Laravel
  • Nginx
  • PostgreSQL
  • Redis
  • Flask
  • Docker & Docker compose

Prerequisites

You will need a non-root user with sudo permissions.

Create user "dev":

adduser dev

Then add it to sudo group:

usermod -aG sudo dev

This command will copy root user ssh keys to dev user:

rsync --archive --chown=dev:dev ~/.ssh /home/dev

To start the script simply run:

sudo bash init.bash

Script will suggest to install docker, docker compose and create a fresh Laravel app.