diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml new file mode 100644 index 0000000..bddaf58 --- /dev/null +++ b/.github/workflows/deno.yml @@ -0,0 +1,42 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow will install Deno then run `deno lint` and `deno test`. +# For more information see: https://github.com/denoland/setup-deno + +name: Deno + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Setup repo + uses: actions/checkout@v3 + + - name: Setup Deno + # uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 + with: + deno-version: v1.x + + # Uncomment this step to verify the use of 'deno fmt' on each commit. + # - name: Verify formatting + # run: deno fmt --check + + - name: Run linter + run: deno lint + + - name: Run tests + run: deno test -A diff --git a/README.md b/README.md index 5b314f4..fb93af9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# password-manager +# 🔗[password-manager](http://18.117.240.172:8000/) # django-docker This is a production-ready setup for running Django on Docker. It has sensible defaults for security, scaling, and workflow. It's a robust and simple way to run Django projects on production servers. diff --git a/app/passmanager/settings.py b/app/passmanager/settings.py index 71133b9..85fb8ea 100644 --- a/app/passmanager/settings.py +++ b/app/passmanager/settings.py @@ -42,7 +42,7 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['*','http://10.3.82.194'] +ALLOWED_HOSTS = ['*','password-manager-production-a329.up.railway.app'] # Application definition @@ -179,9 +179,6 @@ EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.gmail.com' -EMAIL_HOST_USER = 'loopassembly@gmail.com' -EMAIL_HOST_PASSWORD ='dbtmwotfkbjjkvha' - -EMAIL_PORT = 587 -CSRF_TRUSTED_ORIGINS = ['http://127.0.0.1:8000/','http://10.3.82.194:8080/','http://10.3.82.194:2560'] -# django_heroku.settings(locals()) \ No newline at end of file +EMAIL_HOST_USER = 'loopassembly@gmail.com' +EMAIL_HOST_PASSWORD = 'cpezwrwbwiaxypub' +EMAIL_PORT = 587 \ No newline at end of file