mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:58:07 +02:00
Updated dev container configuration
- moved vscode launch.json to .devcontainer - added forwardPorts to devcontainer.json - create log file in postCreate.sh
This commit is contained in:
parent
dc145bb440
commit
07d6500700
5 changed files with 20 additions and 4 deletions
|
@ -8,6 +8,9 @@ source $workspaceFolder/.devcontainer/.env
|
|||
echo ">>> Development Setup"
|
||||
sudo apt-get update
|
||||
|
||||
# VSCode debugger profile
|
||||
mkdir -p .vscode && cp .devcontainer/launch.json .vscode/launch.json
|
||||
|
||||
envsubst < $workspaceFolder/.devcontainer/include/my.cnf > /home/vscode/.my.cnf
|
||||
|
||||
#Make the workspace directory the docroot
|
||||
|
@ -17,4 +20,10 @@ sudo ln -fs $workspaceFolder $DocumentRoot
|
|||
|
||||
echo 'error_reporting=0' | sudo tee /usr/local/etc/php/conf.d/no-warn.ini
|
||||
|
||||
# create log file
|
||||
mkdir -p log
|
||||
touch log/friendica.log
|
||||
chmod 666 log/friendica.log
|
||||
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue