Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
loopassembly committed Nov 27, 2023
2 parents 7621b61 + 32af58a commit 6fd9ec1
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 8 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
11 changes: 4 additions & 7 deletions app/passmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -179,9 +179,6 @@
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = '[email protected]'
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())
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'cpezwrwbwiaxypub'
EMAIL_PORT = 587

0 comments on commit 6fd9ec1

Please sign in to comment.