Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guesstimate setup (server and app) #180

Open
ichbindochauch opened this issue Jun 15, 2017 · 1 comment
Open

guesstimate setup (server and app) #180

ichbindochauch opened this issue Jun 15, 2017 · 1 comment

Comments

@ichbindochauch
Copy link

Hey Folks,

i tried to get guestimate-server and guestimate-app running but i'm not able to. Do i need some magic trick to get it running? or do i need a special undocumented combination of Tag-Versions?
I would really love to try it out, so please give me advice.
I'm not really shure where all the configurations are located in. The Server talks to the postgres db already. Is there an easy way to remove the security stuff for testing purposes?

I think the Problem with the guesstimate app can belong to the missing data in the backend which is related to the missing rights inside the server.

Thank you for advice

Johannes

@patbl
Copy link
Collaborator

patbl commented Jul 4, 2018

The main problem I ran into was that guesstimate-server and guesstimate-app need to be run on specific ports (4000 for the server and 3000 for the app). I was already using those ports for other things, and so I tried using different ports, but I think 3000 and 4000 are referenced in the code, and so I ran into problems.

Since the app runs on 3000 by default, the only change I needed to make was to run rails s -p4000 instead of rails s.

Other things I remember from set-up process: You'll need a version of PostgreSQL that has JSON support. 9.5 definitely does; I think 9.4 does too, and maybe even 9.3. 9.1 doesn't though.

On Ubuntu I needed to specify username: postgres in config/database.yml to fix a permission issue. I also needed to edit /etc/postgresql/9.5/main/pg_hba.conf and change md5 to trust in some places, and then restart PostgreSQL (sudo /etc/init.d/postgresql restart).

If you give more information (especially specific error messages or descriptions of the problems you're having), I may be able to help you more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants