- LAMP stack
or DDEV (for local development) - Composer
- Python-is-Python3
This project does not utilize a database so the migration for Laravel can be skipped.
Clone this repository
Open a CLI and navigate to the root of the project folder
Create a .env file and generate a new App Key:
Run cp .env.example .env && php artisan key:generate
Adjust the APP_URL
in .env
to your domain or in case of DDEV:
APP_URL="https://terrorwave-web.ddev.site"
Change the permissions for the project:
Run sudo chown www-data:www-data . -R
Create a symlink from the /public
folder to /storage/app/public
using artisan:
php artisan storage:link
Alternatively
sudo ln -sfn ../storage/app/public ./public/storage
Run ddev start
Run composer update
or in DDEV run ddev exec composer update
Open the php.ini in Vim, Nano or an editor of your choice:
sudo vim /etc/php/8.1/apache2/php.ini
sudo nano /etc/php/8.1/apache2/php.ini
Change / increase these values:
post_max_size = 5M
upload_max_filesize = 5M
Create a new virtual host
sudo vim /etc/apache2/sites-available/terrorwave-web.conf
with content
<VirtualHost *:80>
DocumentRoot "/path/to/terrorwave/public"
ServerName yourdomain.com
<Directory "/path/to/terrorwave/public">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Enable site sudo a2ensite terrorwave-web.conf
Restart apache sudo service apache2 reload
Install Certbot if not done yet
Run certbot certonly --webroot -d yourdomain.com -w /path/to/terrorwave/public/
Go to http://yourdomain.com or https://yourdomain.com (if SSL enabled)
or in ddev https://terrorwave-web.ddev.site
abyssonym's terrorwave Randomizer
https://github.com/abyssonym/terrorwave
Meats
https://github.com/tethtoril
Ancient Cave Discord
https://discord.gg/96Uswexh9q