remotes/1693045480750635534/spooky-22
Aevann1 2021-07-22 22:48:13 +02:00
parent 234aa90333
commit 0fda1a9125
2 changed files with 35 additions and 30 deletions

View File

@ -1,5 +1,4 @@
# How to Install Drama Locally
# Installation
## Overview
@ -17,13 +16,15 @@ Install Docker on your machine.
### Download Drama
Download the latest release of Drama from GitHub.
Download Drama into your machine by running this command.
[Drama Latest Release - GitHub](https://github.com/Aevann1/Drama/releases)
```
git clone https://github.com/Aevann1/Drama/
```
### PowerShell
Press shift+right click inside the code folder and run PowerShell. Then in PowerShell, run the following command:
Press shift+right click inside the Drama code folder and run PowerShell. Then in PowerShell, run the following command:
```
docker-compose up
@ -33,46 +34,40 @@ That's it! Visit `localhost` in your browser.
---
Optional: to configure the site settings and successsfully integrate it with the external services we use (hcaptcha, cloudflare, aws S3, discord, tenor and mailgun), please edit the variables in the docker-compose.yml file.
---
## Linux
### Install Docker
Install Docker on your machine.
[Docker installation for Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04)
### Install Docker-compose
Install Docker-compose on your machine.
[Docker-compose installation for Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-18-04)
### Download Drama
Navigate to `/opt`
Download Drama into your machine by running this command.
```
cd /opt
git clone https://github.com/Aevann1/Drama/ /drama
```
then clone Drama into your machine.
### Install Drama
Navigate to `/drama`
```
git clone https://github.com/Drama/Drama/
cd /drama
```
### Run Drama
Navigate to `/opt/Drama`
then run the following command:
```
cd /opt/Drama
source setup
```
then run this command
That's it. Visit `localhost` in your browser.
---
Optional: to configure the site settings and successsfully integrate it with the external services we use (hcaptcha, cloudflare, aws S3, discord, tenor and mailgun), please run this command and edit the variables:
```
docker-compose up
```
That's it! Visit `localhost` in your browser.
nano /drama/docker-compose.yml
```

10
setup 100644
View File

@ -0,0 +1,10 @@
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose up