rDrama/readme.md

59 lines
1.3 KiB
Markdown
Raw Normal View History

2021-07-22 20:48:13 +00:00
# Installation
2021-07-21 01:12:26 +00:00
Installing Drama locally is the fastest way to get the software up and running and start tinkering under the hood.
---
2021-07-22 22:32:06 +00:00
# Windows
2021-07-21 01:12:26 +00:00
2021-07-22 22:32:06 +00:00
1- Install Docker on your machine.
2021-07-21 01:12:26 +00:00
[Docker installation for Windows](https://docs.docker.com/docker-for-windows/install/)
2021-07-22 22:32:06 +00:00
2- Download Drama into your machine by running this command.
2021-07-21 01:12:26 +00:00
2021-07-22 20:48:13 +00:00
```
git clone https://github.com/Aevann1/Drama/
```
2021-07-21 01:12:26 +00:00
2021-07-22 22:32:06 +00:00
3- Press shift+right click inside the Drama code folder and run PowerShell. Then in PowerShell, run the following command:
2021-07-21 01:12:26 +00:00
```
docker-compose up
```
2021-07-22 22:32:06 +00:00
4- That's it! Visit `localhost` in your browser.
2021-07-21 01:12:26 +00:00
2021-07-28 23:03:40 +00:00
5- Optional: to configure the site settings and successsfully integrate it with the external services we use (hcaptcha, cloudflare, discord, tenor and mailgun), please edit the variables in the docker-compose.yml file.
2021-07-21 01:12:26 +00:00
2021-07-22 20:48:13 +00:00
---
2021-07-21 01:12:26 +00:00
2021-07-22 22:32:06 +00:00
# Linux
2021-07-21 01:12:26 +00:00
2021-07-22 22:32:06 +00:00
1- Download Drama into your machine by running this command.
2021-07-21 01:12:26 +00:00
```
2021-07-22 20:48:13 +00:00
git clone https://github.com/Aevann1/Drama/ /drama
2021-07-21 01:12:26 +00:00
```
2021-07-22 22:32:06 +00:00
2- Navigate to `/drama`
2021-07-21 01:12:26 +00:00
```
2021-07-22 20:48:13 +00:00
cd /drama
2021-07-21 01:12:26 +00:00
```
2021-07-22 22:32:06 +00:00
3- run the following command:
2021-07-21 01:12:26 +00:00
```
2021-07-22 20:48:13 +00:00
source setup
2021-07-21 01:12:26 +00:00
```
2021-07-22 22:32:06 +00:00
4- That's it. Visit `localhost` in your browser.
2021-07-21 01:12:26 +00:00
2021-07-28 23:03:40 +00:00
5- Optional: to configure the site settings and successsfully integrate it with the external services we use (hcaptcha, cloudflare, discord, tenor and mailgun), please run this command and edit the variables:
2021-07-22 20:48:13 +00:00
```
nano /drama/docker-compose.yml
2021-07-22 22:32:06 +00:00
```