d4l3k / WebSync

WebSync is a document editing tool similar to Google Drive or Office 365.
https://websyn.ca
MIT License
301 stars 68 forks source link

Database configuration #171

Closed shrekmaxi closed 8 years ago

shrekmaxi commented 8 years ago

Hi, sorry for bothering again. I am still stuck with the Database Configuration

// Database Configuration "postgres": "postgres:@localhost/websync", "redis": { "host": null, "port": null, "password": null },

As your original config.json defined the format of DB connection. Should I leave the user postgres' password empty? And actually I just need to configure redis? Thanks

d4l3k commented 8 years ago

I'd you don't have a password, you don't have to provide it in the connection string. It depends on how you configured your db.

On Sun, Sep 18, 2016, 06:06 shrekmaxi notifications@github.com wrote:

Hi, sorry for bothering again. I am still stuck with the Database Configuration

// Database Configuration "postgres": "postgres:@localhost/websync", "redis": { "host": null, "port": null, "password": null },

As your original config.json defined the format of DB connection. Should I leave the user postgres' password empty? And actually I just need to configure redis? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/d4l3k/WebSync/issues/171, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3fMJAJiTN12NYZWV6lkzWQbsW62cmHks5qrQ0CgaJpZM4J_3Ik .

shrekmaxi commented 8 years ago

After I ran rackup, I got this error: FATAL: Ident authentication failed for user "postgres" (PG::ConnectionBad) bash: syntax error near unexpected token `('

I am sure the user postgres' password is null.

shrekmaxi commented 8 years ago

I just figured it out. anyway, thanks again. it's a great project!

d4l3k commented 8 years ago

Awesome!

On Mon, Sep 19, 2016, 03:02 shrekmaxi notifications@github.com wrote:

Closed #171 https://github.com/d4l3k/WebSync/issues/171.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/d4l3k/WebSync/issues/171#event-793801913, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3fMNtGRH_N-6pLOqqkPWd37fGPSMqMks5qrl2kgaJpZM4J_3Ik .