Skip to content

Commit

Permalink
Added support to deploy on digital ocean platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben69695 committed Nov 10, 2022
1 parent e7ae470 commit 2ef7e3a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Personal Web
My personal and professional web made with Python and Django.
My personal and professional web made with Python, Django, PostgreSQL and deployed on Digital Ocean cloud platform in a PaaS.

![Heroku](https://heroku-badge.herokuapp.com/?app=rarrebola-personalweb)
Take a look at my page on [rubenarrebola.pro](https://www.rubenarrebola.pro) 😎

[![DigitalOcean Referral Badge](https://web-platforms.sfo2.digitaloceanspaces.com/WWW/Badge%203.svg)](https://www.digitalocean.com/?refcode=e212aaa8b0c3&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge)

## Requirements
1. Docker and Docker Compose installed on your machine
Expand Down Expand Up @@ -43,6 +45,7 @@ docker compose up --build -d

## Production Deployment
- Heroku Platform
- Digital Ocean

## Runs on
- Linux
Expand Down
2 changes: 2 additions & 0 deletions webpersonal/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

ALLOWED_HOSTS = [] if os.environ.get('DEBUG', 'True') == 'True' else ['*']

CSRF_TRUSTED_ORIGINS = [] if DEBUG else ['https://rarrebola-personalweb-ny2i4.ondigitalocean.app', 'https://www.rubenarrebola.pro']


# Application definition

Expand Down

0 comments on commit 2ef7e3a

Please sign in to comment.