mirror of
https://github.com/friendica/friendica
synced 2024-09-19 16:45:11 +00:00
19 lines
452 B
Bash
19 lines
452 B
Bash
|
#!/bin/bash
|
||
|
#
|
||
|
|
||
|
# Prepare the workspace files with the values from the devcontainer.env file
|
||
|
set -a
|
||
|
source $workspaceFolder/.devcontainer/devcontainer.env
|
||
|
|
||
|
echo ">>> Development Setup"
|
||
|
sudo apt-get update
|
||
|
|
||
|
#Make the workspace directory the docroot
|
||
|
echo ">>> Symlink $DocumentRoot to $workspaceFolder"
|
||
|
sudo rm -rf $DocumentRoot
|
||
|
sudo ln -fs $workspaceFolder $DocumentRoot
|
||
|
|
||
|
echo 'error_reporting=0' | sudo tee /usr/local/etc/php/conf.d/no-warn.ini
|
||
|
|
||
|
exit 0
|