Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6496

Getting error while running Django app on apache2 server about GOOGLE_CLOUD_PROJECT

$
0
0

I am facing an issue while deploying my Django app on apache2 sever.

Project ID is required to access Cloud Messaging service. Either set the projectId option, or use service account credentials. Alternatively, set the GOOGLE_CLOUD_PROJECT environment variable.

I have declared these in my setting.py

GOOGLE_APPLICATION_CREDENTIALS = '<path to json>'GOOGLE_CLOUD_PROJECT = '<project id>'FIREBASE_APP = initialize_app()

I tried setting environment variable export GOOGLE_CLOUD_PROJECT=

When I run my project ./manage.py runserver then it is working fine.


Viewing all articles
Browse latest Browse all 6496


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>