-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring docker-compose-dev.yml and relative files for local devel…
…opment.
- Loading branch information
wlorenzetti
committed
Jun 3, 2022
1 parent
172a2ed
commit 8810468
Showing
4 changed files
with
40 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# Entrypoint script for Development purposes. | ||
# ------------------------------------------- | ||
|
||
# Start XVfb | ||
if [[ -f /tmp/.X99-lock ]]; then | ||
rm /tmp/.X99-lock | ||
fi | ||
Xvfb :99 -screen 0 640x480x24 -nolisten tcp & | ||
export DISPLAY=:99 | ||
export QGIS_SERVER_PARALLEL_RENDERING=1 | ||
# Start | ||
cd /code/g3w-admin | ||
|
||
# Build the suite | ||
/code/ci_scripts/build_suite.sh | ||
# Setup once | ||
/code/ci_scripts/setup_suite.sh | ||
|
||
# To get git properties loose on code overrides. | ||
git config --global --add safe.directory /code | ||
|
||
# Start Django server | ||
python3 manage.py runserver 0.0.0.0:8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters