Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 967 Bytes

File metadata and controls

26 lines (20 loc) · 967 Bytes
  1. SSH into server as root (if no user with superuser privileges exists)

  2. Install and configure ngnix on your server. Digitaloceans tutorials may help.

  3. Create an account with superuser privileges if not yet existing:

$ adduser <username>

$ usermod -aG sudo <username>

$ su <username>
  1. Clone the code and start the deployment script! Ensure beforehand that the user account and the URL are still matching!
$ cd ~

$ git clone https://github.com/Zethson/igem_tuebingen_website

Substitute the URL given in igem_tuebingen_website/production_setup/igem_tuebingen_website with your domains.
Substitute the username in the igem_tuebingen_website/production_setup/igem_tuebingen_website.service file.
You may need to substitute the port.
Rename the username given in the igem_tuebingen_website/production_setup/setup.sh script to match your home folder.

$ sudo bash igem_tuebingen_website/production_setup/setup.sh