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

Can't get terraboard running locally (without docker) #1

Closed
number5 opened this issue Jul 26, 2017 · 2 comments
Closed

Can't get terraboard running locally (without docker) #1

number5 opened this issue Jul 26, 2017 · 2 comments
Labels

Comments

@number5
Copy link

number5 commented Jul 26, 2017

So I run go get https://github.com/camptocamp/terraboard
and the go install . compiled and installed it.

With following env variables set

AWS_SECRET_ACCESS_KEY=1xxxxxx
AWS_ACCESS_KEY_ID=AKIAJMCDDREEFEEDE
AWS_REGION=ap-southeast-2
AWS_BUCKET=blah-tfstates
λ terraboard                                                             
INFO[0000] Automigrate
INFO[0000] New db is &{<nil> <nil> 0 0xc42024c3c0 false 2 {0xc42022c910} <nil> map[] 0xc42013f830 0x4c25160 0xc42025a560 false}
INFO[0000] Refreshing DB from S3

But running terraboard only create a sqlite db then quit.

What have I done wrong?

@raphink
Copy link
Contributor

raphink commented Jul 27, 2017

That is most certainly because Terraboard tries to listen on port 80 and you don't have the privileges for that. You could try to run it with sudo.

I will go ahead and change the port to 8080 instead.

@raphink
Copy link
Contributor

raphink commented Jul 27, 2017

For the record, I made the port configurable in fc4eaef (see ./terraboard -h).

@raphink raphink added the bug label Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants