-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f8e632
commit 4cca411
Showing
12 changed files
with
123 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
__pycache__ | ||
venv | ||
.venv | ||
.git | ||
.gitignore | ||
.gitattributes | ||
.github | ||
.idea | ||
docs | ||
scripts | ||
bin |
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,20 @@ | ||
__pycache__ | ||
*.pyc | ||
*.pyo | ||
*.pyd | ||
.Python | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
.tox | ||
.coverage | ||
.coverage.* | ||
.cache | ||
.gitignore | ||
nosetests.xml | ||
coverage.xml | ||
.flake8 | ||
*,cover | ||
.git | ||
venv | ||
.pre-commit-config.yaml | ||
.pre-commit-hooks.yaml |
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,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
certbot -d $1 -d $2 -d $3 -d $4 |
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,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker compose --file docker-compose.dev.yml up --build |
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,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
source venv/bin/activate | ||
|
||
cd backend | ||
|
||
poetry run isort . | ||
|
||
poetry run black . | ||
|
||
cd ../frontend | ||
|
||
yarn format | ||
|
||
yarn lint | ||
|
||
cd ../ | ||
|
||
git add . |
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,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
cd frontend | ||
|
||
yarn install | ||
|
||
cd ../ | ||
|
||
python -m venv venv | ||
|
||
source venv/bin/activate | ||
|
||
cd backend | ||
|
||
poetry install | ||
|
||
./start-migrate.sh | ||
|
||
wait |
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,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting redis..." | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting rabbit..." | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting postgres..." | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting kafka..." | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting frontend..." | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting backend..." | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting celery..." | ||
|
||
echo -e "\033[0;32m[INFO]\033[0;0m Starting flower..." | ||
|
||
wait |
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
source venv/bin/activate | ||
|
||
cd backend | ||
|
||
python manage.py makemigrations | ||
python manage.py migrate --check |
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 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo docker compose down | ||
|
||
sudo docker compose up --build |
Empty file.
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 @@ | ||
node_modules | ||
dist | ||
tmp | ||
.swc | ||
.gitignore | ||
server | ||
build |