These are chat archives for fossasia/open-event-server

20th
Jan 2018
Nityananda Gohain
@nityanandagohain
Jan 20 2018 03:54
@simsausaurabh thank you and yes please help me i am stuck in "postgres file" i dont know where it is stored.
@dgarvit how did you complete step 2 of your local installation
Garvit Dewan
@dgarvit
Jan 20 2018 03:58
Which one is step 2?
Nityananda Gohain
@nityanandagohain
Jan 20 2018 03:58

"
Step 2 - Create the database. For that we first open the psql shell. Go the directory where your postgres file is stored.

sudo -u postgres psql"

In local installation @dgarvit
Yash Kothari
@CaptainDaVinci
Jan 20 2018 06:52
@nityanandagohain not sure what is "postgres file" but the URI for the database is usually postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]
Nityananda Gohain
@nityanandagohain
Jan 20 2018 14:02
Screenshot from 2018-01-20 19-29-41.png
finally got it running Please check my terminal weather everything went correct.
Saurabh Srivastava
@simsausaurabh
Jan 20 2018 14:03
looks good but could you please add the screenshot of whole terminal
full screen
@nityanandagohain
Nityananda Gohain
@nityanandagohain
Jan 20 2018 14:03
Also i had to create psql user as john .... if I give my name then while running "python create_db.py" it showed error
sure @simsausaurabh
Screenshot from 2018-01-20 19-32-48.png
Saurabh Srivastava
@simsausaurabh
Jan 20 2018 14:05
It's working fine now :smile:
Nityananda Gohain
@nityanandagohain
Jan 20 2018 14:06
thanks but I think the installation guide should be updated ... it's quite complicated :smile:
Anshuman Verma
@anshumanv
Jan 20 2018 14:06
Feel free to send a PR.
but please open an issue first about the changes you wanna make.
Nityananda Gohain
@nityanandagohain
Jan 20 2018 14:07
ok thanks .
Screenshot from 2018-01-20 19-36-30.png
so if i used my name instead of john get an error ...
can anyone enlighten me as of why it has happened
the error occurred while executing "python create_db.py" ... i dont have screenshot of it but it asked for something and "john" was there in the error .
Saptak Sengupta
@SaptakS
Jan 20 2018 14:18
@nityanandagohain that is because you also need to edit in the .env file the parameters according to your own configuration.
Nityananda Gohain
@nityanandagohain
Jan 20 2018 15:21
thanks
anything I can do to get started with