diff --git a/.env b/.env index d27a0e9..257ccb7 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -SERVER=https://cloudapp.io +SERVER=https://prodxcloud.io DEBUG=True SECRET_KEY=S3cr3t_K#Key77666345001 DJANGO_SECRET_KEY=%jjnu7=54g6s%qjfnhbpw0zeoei=$!her*y(p%!&84rs$4l85io @@ -10,7 +10,7 @@ POSTGRES_NAME=DB4 POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres POSTGRES_PORT=5432 -POSTGRES_HOST=cloudapp-django-postgresdb +POSTGRES_HOST=prodxcloud-django-postgresdb # POSTGRES_HOST=host.docker.internal # POSTGRES_HOST=localhost diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index c00f324..b1759a2 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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 ubuntu@47.128.216.140 'sudo docker pull joelwembo/cloudapp-django-web:latest' +# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem ubuntu@47.128.216.140 'sudo docker pull joelwembo/prodxcloud-django-web:latest' # - name: Stop running container # run: | -# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem ubuntu@47.128.216.140 'sudo docker stop cloudapp-django-web || true' -# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem ubuntu@47.128.216.140 'sudo docker rm cloudapp-django-web || true' +# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem ubuntu@47.128.216.140 'sudo docker stop prodxcloud-django-web || true' +# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem ubuntu@47.128.216.140 'sudo docker rm prodxcloud-django-web || true' # - name: Run new container # run: | -# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem ubuntu@47.128.216.140 'sudo docker run -d --name cloudapp -p 8585:8585 joelwembo/cloudapp-django-web:latest' +# ssh -o StrictHostKeyChecking=no -i prodxsecure.pem ubuntu@47.128.216.140 '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] diff --git a/.github/workflows/test-django.yaml b/.github/workflows/test-django.yaml index 6512759..519c1fa 100644 --- a/.github/workflows/test-django.yaml +++ b/.github/workflows/test-django.yaml @@ -75,8 +75,8 @@ # context: ./ # # Note: tags has to be all lower-case # tags: | -# joelwembo/cloudapp-engine-django:${{ github.sha }} -# ghcr.io/joelwembo/cloudapp-engine-django:${{ github.sha }} +# joelwembo/prodxcloud-engine-django:${{ github.sha }} +# ghcr.io/joelwembo/prodxcloud-engine-django:${{ github.sha }} # # build on feature branches, push only on main branch # push: ${{ github.ref == 'refs/heads/master' }} \ No newline at end of file diff --git a/apps/templates/home/index.html b/apps/templates/home/index.html index d6a0ef9..5566e38 100644 --- a/apps/templates/home/index.html +++ b/apps/templates/home/index.html @@ -6,13 +6,13 @@ -cloudapp +prodxcloud