mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
15 lines
589 B
Bash
Executable file
15 lines
589 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cd /standardebooks.org/web
|
|
composer install
|
|
|
|
ln -s /standardebooks.org/web/config/apache/standardebooks.test.conf /etc/apache2/sites-available/
|
|
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/cli/conf.d/
|
|
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/fpm/conf.d/
|
|
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test.conf /etc/php/*/fpm/pool.d/
|
|
a2ensite standardebooks.test
|
|
/etc/init.d/apache2 start
|
|
service php7.4-fpm restart
|
|
|
|
# Keep the server available by holding open the container
|
|
tail -f /dev/null
|