mirror of
https://github.com/friendica/friendica
synced 2025-04-26 20:30:11 +00:00
Initial version of devcontainer for friendica
This commit is contained in:
parent
b76ba423f2
commit
5b20bfc94c
14 changed files with 363 additions and 0 deletions
13
.devcontainer/postCreateApacheSetup.sh
Executable file
13
.devcontainer/postCreateApacheSetup.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
source $workspaceFolder/.devcontainer/devcontainer.env
|
||||
|
||||
echo ">>> Apache2 Configuration"
|
||||
envsubst < $workspaceFolder/.devcontainer/include/001-friendica.conf > /tmp/001-friendica.conf
|
||||
|
||||
sudo cp /tmp/001-friendica.conf /etc/apache2/sites-available/001-friendica.conf
|
||||
sudo a2enmod rewrite actions
|
||||
sudo a2ensite 001-friendica
|
||||
sudo a2dissite 000-default
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue