https://github.com/matheussc017/blognewsheroku
This project is a copy of another project of mine with some modifications to be deployed on Heroku, such as the addition of the Procfile and the configuration of the AWS S3 service. Follow the link to access the original BlogNews project
https://github.com/matheussc017/blognewsheroku
aws django google-oauth heroku-deployment python recaptcha s3
Last synced: about 1 month ago
JSON representation
This project is a copy of another project of mine with some modifications to be deployed on Heroku, such as the addition of the Procfile and the configuration of the AWS S3 service. Follow the link to access the original BlogNews project
- Host: GitHub
- URL: https://github.com/matheussc017/blognewsheroku
- Owner: MatheusSC017
- License: mit
- Created: 2024-04-11T21:49:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-22T15:04:25.000Z (over 1 year ago)
- Last Synced: 2025-03-02T12:28:05.732Z (over 1 year ago)
- Topics: aws, django, google-oauth, heroku-deployment, python, recaptcha, s3
- Language: Python
- Homepage: https://github.com/MatheusSC017/BlogNews
- Size: 440 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: newsletter/__init__.py
- License: LICENSE
Awesome Lists containing this project
README
# BlogNews




This project is a copy of another project of mine with some modifications to be deployed on Heroku, such as the addition of the Procfile and the configuration of the AWS S3 service. Follow the link to access the original [BlogNews project](https://github.com/MatheusSC017/BlogNews)
Access the website through this [link](https://blognews-a92f5c73f7ee.herokuapp.com/) (Link temporarily disabled)
## Requirements
Before running this code on heroku you need to set some environment variables
~~~
SECRET_KEY=secret_key_for_use_in_docker_change_me
DEBUG=1
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
DJANGO_CSRF_TRUSTED_ORIGINS=http://localhost:1337 http://127.0.0.1:1337
EMAIL_BACKEND=django.core.mail.backends.dummy.EmailBackend
EMAIL_HOST=''
EMAIL_HOST_USER=''
EMAIL_HOST_PASSWORD=''
EMAIL_PORT=587
EMAIL_USE_TLS=True
DEFAULT_FROM_EMAIL='BlogNews'
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
RECAPTCHA_SITE_KEY_TEST=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
RECAPTCHA_SECRET_KEY_TEST=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
SQL_ENGINE=django.db.backends.mysql
SQL_DATABASE=blog_database
SQL_USER=blog_database_user
SQL_PASSWORD=blog_database_password
SQL_HOST=db
SQL_PORT=3306
DATABASE=mysql
INITIAL_DATA=True
SOCIALACCOUNT='{
"google": {
"APP": {
"client_id": "",
"secret": "",
"key": ""
}
}
}'
AWS_ACCESS_KEY_ID=''
AWS_SECRET_ACCESS_KEY=''
AWS_STORAGE_BUCKET_NAME=''
AWS_S3_SIGNATURE_NAME=''
AWS_S3_REGION_NAME=''
~~~