pclubuiet / website

Programming club, PU official website.
https://pclubuiet.herokuapp.com
GNU General Public License v3.0
14 stars 70 forks source link

Problem in migration #142

Closed Mahir-G closed 6 years ago

Mahir-G commented 6 years ago

I'm submitting a ... (check one with "x")

Current behavior:

When the "Python3 manage.py migrate" command is run in the terminal, the following error shows up: """ File "/root/Desktop/env/lib/python3.5/site-packages/psycopg2/init.py", line 130, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) django.db.utils.OperationalError: could not translate host name "pclubuietdb" to address: Name or service not known """

Expected behavior:

It should migrate the required apps and run the application.

gurpreetsingh00885 commented 6 years ago

Its a problem with the instructions in the README. It doesn't list the steps to setting up a postgresql database to be used by the website.

Mahir-G commented 6 years ago

so what should be done regarding this as I don't know anything about this. If i knew then I would have solved the issue and started working on the site. And because of this I am not able to work on the site.

gurpreetsingh00885 commented 6 years ago

fixed via #146