mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02: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
18
.devcontainer/postCreate.sh
Executable file
18
.devcontainer/postCreate.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue