git clone https://github.com/GoogleCloudPlatform/python-docs-samples.gitSetting up your local environmentcd python-docs-samples\appengine/flexible\django_cloudsql
my current directory is C:\Users\vibe\AppData\Local\Google\Cloud SDK\python-docs-samples\appengine\flexible\django_cloudsql
2.
using sdk commandline i didgcloud auth application-default login (authentication)
downloadedcloud_sql_proxy.exe in C:\Users\vibe\AppData\Local\Google\Cloud SDK\python-docs-samples\appengine\flexible\django_cloudsql this directorygcloud sql instances describe [YOUR_INSTANCE_NAME]
cloud_sql_proxy.exe -instances="[YOUR_INSTANCE_CONNECTION_NAME]"=tcp:5432
3.Configure the database settings
mysite/settings.pygcloud beta sql instances describe [YOUR_INSTANCE_NAME]
4.Run the app on your local computer
i didvirtualenv env
env\scripts\activate
pip install -r requirements.txt
But when i did python manage.py makemigrationIts showing this error:could not connect to server: Connection refused Is the server running on host “localhost” (127.0.0.1) and accepting TCP/IP connections on port 5432?
Can anyone please advise on how I can resolve this issue?
Thanks!