-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from AlexanderBgit/lexxai
scripts for macOS
- Loading branch information
Showing
9 changed files
with
56 additions
and
1 deletion.
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,7 @@ | ||
#!/bin/zsh | ||
|
||
pushd "../deploy" | ||
echo "STOPPING SEPARATED DEV DB CONTAINER" | ||
docker stop fastparking-db-postgres-1 | ||
docker-compose --file docker-compose-project.yml --env-file .env up | ||
popd |
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,5 @@ | ||
#!/bin/zsh | ||
|
||
pushd "../deploy" | ||
docker-compose --file docker-compose-project.yml --env-file .env build code | ||
popd |
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,5 @@ | ||
#!/bin/zsh | ||
|
||
pushd "../deploy" | ||
docker-compose --file docker-compose-project.yml --env-file .env run --rm code | ||
popc |
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,5 @@ | ||
#!/bin/zsh | ||
|
||
pushd "../deploy" | ||
docker-compose --file docker-compose-db.yml --env-file .env up -d | ||
popd |
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,11 @@ | ||
#!/bin/zsh | ||
|
||
# simulate poetry shell | ||
pushd "../FRONTEND" | ||
pyact=$(poetry env info -p) | ||
source ${pyact}/bin/activate | ||
popd | ||
|
||
pushd "../FRONTEND/fastparking" | ||
poetry export --without-hashes > requirements.txt | ||
popd |
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,11 @@ | ||
#!/bin/zsh | ||
|
||
# simulate poetry shell | ||
pushd "../FRONTEND" | ||
pyact=$(poetry env info -p) | ||
source ${pyact}/bin/activate | ||
popd | ||
|
||
pushd "../FRONTEND/fastparking" | ||
python manage.py migrate | ||
popd |
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,10 @@ | ||
#!/bin/zsh | ||
|
||
# simulate poetry shell | ||
pushd "../FRONTEND" | ||
pyact=$(poetry env info -p) | ||
source ${pyact}/bin/activate | ||
popd | ||
pushd "../FRONTEND/fastparking" | ||
python manage.py runserver 0.0.0.0:8000 | ||
popd |