adds environment.ini for dev
This commit is contained in:
parent
033c72c4e7
commit
7b76c06792
3 changed files with 77 additions and 8 deletions
|
|
@ -1,9 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# preserve original production files
|
||||
mv ./docker-compose.yml ./docker-compose.production.yml
|
||||
mv ./Dockerfile ./Dockerfile.production
|
||||
mv ./static/pathfinder/environment.ini ./static/pathfinder/environment.production.ini
|
||||
|
||||
# copy development versions
|
||||
cp ./deployment/docker-compose.development.yml ./docker-compose.yml
|
||||
cp ./deployment/Dockerfile.development ./Dockerfile
|
||||
cp ./deployment/environment.development.ini ./static/pathfinder/environment.ini
|
||||
|
||||
# set up launch file for vscode
|
||||
mkdir -p .vscode && cp ./deployment/launch.json ./.vscode/launch.json
|
||||
|
||||
# seed .env file with dev presets
|
||||
echo "path=\"$(pwd)\"" > ./.env
|
||||
cat ./deployment/.env.development >> ./.env
|
||||
Loading…
Add table
Add a link
Reference in a new issue