-
Notifications
You must be signed in to change notification settings - Fork 27
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
Showing
21 changed files
with
76 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,7 @@ | |
# context: ./ | ||
# push: true | ||
# dockerfile: ./Dockerfile | ||
# tags: joelwembo/cloudapp-django-web:latest | ||
# tags: joelwembo/prodxcloud-django-web:latest | ||
|
||
# deploy-to-aws-ec2: | ||
# needs: build-and-push | ||
|
@@ -101,14 +101,14 @@ | |
# chmod 600 prodxsecure.pem | ||
# - name: Pull Docker image | ||
# run: | | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker pull joelwembo/cloudapp-django-web:latest' | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker pull joelwembo/prodxcloud-django-web:latest' | ||
# - name: Stop running container | ||
# run: | | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker stop cloudapp-django-web || true' | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker rm cloudapp-django-web || true' | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker stop prodxcloud-django-web || true' | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker rm prodxcloud-django-web || true' | ||
# - name: Run new container | ||
# run: | | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker run -d --name cloudapp -p 8585:8585 joelwembo/cloudapp-django-web:latest' | ||
# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem [email protected] 'sudo docker run -d --name prodxcloud -p 8585:8585 joelwembo/prodxcloud-django-web:latest' | ||
|
||
|
||
|
||
|
@@ -124,7 +124,7 @@ | |
|
||
# jobs: | ||
# test_django_job: | ||
# uses: joelwembo/cloudapp-django/.github/workflows/test-django.yaml@master | ||
# uses: joelwembo/prodxcloud-django/.github/workflows/test-django.yaml@master | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# needs: [test_django_job] | ||
|
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 |
---|---|---|
|
@@ -6,13 +6,13 @@ | |
<!-- Bootstrap CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> | ||
<title>cloudapp</title> | ||
<title>prodxcloud</title> | ||
</head> | ||
<body> | ||
<nav class="navbar bg-body-tertiary" style=""> | ||
<div class="container-fluid"> | ||
<a class="navbar-brand" href="#"> | ||
<img src="https://cloudapp.com/assets/images/logo/logo-cloudapp-dark.png" alt="Logo" width="100" height="50" class="d-inline-block align-text-top"> | ||
<img src="https://prodxcloud.com/assets/images/logo/logo-prodxcloud-dark.png" alt="Logo" width="100" height="50" class="d-inline-block align-text-top"> | ||
|
||
</a> | ||
</div> | ||
|
@@ -24,13 +24,13 @@ | |
<div class="container"> | ||
<footer class="py-3 my-4"> | ||
<ul class="nav justify-content-center border-bottom pb-3 mb-3"> | ||
<li class="nav-item"><a href="https://cloudapp.com/" class="nav-link px-2 text-muted">Home</a></li> | ||
<li class="nav-item"><a href="https://cloudapp.com/" class="nav-link px-2 text-muted">Features</a></li> | ||
<li class="nav-item"><a href="https://cloudapp.com/" class="nav-link px-2 text-muted">Pricing</a></li> | ||
<li class="nav-item"><a href="https://cloudapp.com/" class="nav-link px-2 text-muted">FAQs</a></li> | ||
<li class="nav-item"><a href="https://cloudapp.com/" class="nav-link px-2 text-muted">About</a></li> | ||
<li class="nav-item"><a href="https://prodxcloud.com/" class="nav-link px-2 text-muted">Home</a></li> | ||
<li class="nav-item"><a href="https://prodxcloud.com/" class="nav-link px-2 text-muted">Features</a></li> | ||
<li class="nav-item"><a href="https://prodxcloud.com/" class="nav-link px-2 text-muted">Pricing</a></li> | ||
<li class="nav-item"><a href="https://prodxcloud.com/" class="nav-link px-2 text-muted">FAQs</a></li> | ||
<li class="nav-item"><a href="https://prodxcloud.com/" class="nav-link px-2 text-muted">About</a></li> | ||
</ul> | ||
<p class="text-center text-muted">© 2022 cloudapp, Inc</p> | ||
<p class="text-center text-muted">© 2022 prodxcloud, Inc</p> | ||
</footer> | ||
</div> | ||
</body> | ||
|
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
docker exec -it web_cloudapp_django celery -A multitenantsaas beat -l INFO --logfile=celery.log | ||
docker exec -it web_prodxcloud_django celery -A multitenantsaas beat -l INFO --logfile=celery.log |
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 |
---|---|---|
@@ -1 +1 @@ | ||
docker exec -it cloudapp-django-web celery -A multitenantsaas flower --port=5555 | ||
docker exec -it prodxcloud-django-web celery -A multitenantsaas flower --port=5555 |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
docker exec -it cloudapp-django_celery_1 celery -A multitenantsaas worker -l INFO | ||
docker exec -it prodxcloud-django_celery_1 celery -A multitenantsaas worker -l INFO | ||
|
||
docker exec -it cloudapp-django_celery_1 celery -A multitenantsaas worker -l info --beat | ||
docker exec -it prodxcloud-django_celery_1 celery -A multitenantsaas worker -l info --beat |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
docker exec -it cloudapp-django-web python manage.py makemigrations | ||
docker exec -it cloudapp-django-web python manage.py migrate | ||
docker exec -it prodxcloud-django-web python manage.py makemigrations | ||
docker exec -it prodxcloud-django-web python manage.py migrate | ||
|
||
docker exec -it cloudapp-django-web python manage.py createsuperuser | ||
docker exec -it prodxcloud-django-web python manage.py createsuperuser | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
docker exec -it cloudapp-django-postgresdb bash | ||
docker exec -it prodxcloud-django-postgresdb bash |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
docker exec -it web_cloudapp_django python manage.py makemigrations | ||
docker exec -it web_cloudapp_django python manage.py migrate | ||
docker exec -it web_prodxcloud_django python manage.py makemigrations | ||
docker exec -it web_prodxcloud_django python manage.py migrate | ||
echo 'Production Migration Operation Completed , Please Check the logs status' |
Oops, something went wrong.