-
Notifications
You must be signed in to change notification settings - Fork 27
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
List issue tracker website link on package page #211
Comments
We are trying to contribute to this. After adding necessary changes, we tried to build a server locally, and being stuck with this error:
What we did is:
Can you help us resolve this error? Thank you. |
Sorry about that, the docs are out of date. You'll need to run the cron job to create and populate the database. Can you try |
We tried |
You'd have to give it the credentials for your local server. |
@snoyberg Hmm... then, can you think of anything about this error?
|
@pythonissam This is how
or set them as environment variables |
@lehins I think @pythonissam is trying to setup stackage server locally. Is that possible ? |
@psibi I am not really sure, as I never dealt with stackage insides before, but by taking a quick look at the script: https://github.com/fpco/stackage-server/blob/master/src/Stackage/Database/Cron.hs#L78, one of the things it's trying to do is upload a snapshot.json file and hoogledb onto an S3 bucket with name I am just familiar with an error @pythonissam is getting, so I decided to comment with a way it can be solved. |
@lehins Thanks for the explanation! @pythonissam Running stackage-server locally seems slight problematic now: d7a0371 I'm working on this to resolve this so that stackage-server can be built locally without any issues. I will submit a PR in a couple of days. But if you are curious to try, I have updated the README and the code to work in my experimental branch: https://github.com/psibi/stackage-server/tree/local-installation |
I have created a PR which will hopefully make installation of stackage-server locally easy: #257 |
@psibi the PR has been merged, but the "missing file .aws/credentials" error is still there; was that intentional? |
@develop7 stackage-server-cron has changed quite a bit since that PR has been merged. Unfortunately aws credentials file is required for the cron job due to amazonka, there is no way around it, since it relies heavily on S3. What you can try is placing an empty file in The point is that the requirement of credentials being present comes from amaznoka, not from stackage-server, despite that they might not be used (eg. |
@lehins empty |
Also would be nice: detect if a package has a Github repo, and include an explicit Github link
The text was updated successfully, but these errors were encountered: