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

Share guide how to deploy selfhosted instance of journal-limpet #30

Open
norohind opened this issue May 2, 2022 · 4 comments
Open

Share guide how to deploy selfhosted instance of journal-limpet #30

norohind opened this issue May 2, 2022 · 4 comments

Comments

@norohind
Copy link

norohind commented May 2, 2022

I thought I will be able to figure out what needed for an instance by myself just by running it and viewing backtrace, solving problems and running it again until no backtraces shows up, and I successfully ran redis and created Journal-Limpet.environment that contains valid json ({}) but now I stuck with database, I don't know how and where to specify credentials for DB. I'm fully unfamiliar with c# language and entire dotnet ecosystem and couldn't solve the problem just by viewing source code. I would appreciate if you share a manual for deploying the project.

@itssimple
Copy link
Owner

First off: Even if the project is open source, the database (including schema), minio and redis backend is not publicly available.

This is the format of the Journal-Limpet.environment file

{
        "EliteDangerous": {
                "ClientId": "",
                "ClientSecret": ""
        },
        "Database": {
                "ConnectionString": "",
                "HangfireConnection": ""
        },
        "Minio": {
                "ConnectionString": "",
                "AccessKey": "",
                "SecretKey": ""
        },
        "Patreon": {
                "GoalApiUrl": ""
        },
        "Hangfire": {
                "AuthKey": ""
        },
        "SendGrid": {
                "ApiKey": ""
        },
        "Discord": {
                "ErrorWebhook": ""
        },
        "Twitter": {
                "ConsumerKey": "",
                "ConsumerSecret": "",
                "AccessToken": "",
                "AccessSecret": ""
        },
        "ErrorMail": "",
        "CanonnRD": {
                "QueryString": "",
                "JournalEndpoint": ""
        }
}

And I intend to not give out any documentation on how to host this separately, as I'm already hosting the service on https://journal-limpet.com

Is there any reason you want to host this yourself?

@itssimple itssimple added wontfix This will not be worked on and removed wontfix This will not be worked on labels May 2, 2022
@itssimple
Copy link
Owner

Fixing a few code issues, and adding DB schema.

As for the other parts of deploying it, I'll see if I can put something together later, as it currently involves GitHub Actions for building and Octopus Deploy for deploying new versions.

But it should work by running dotnet run in the Journal-Limpet-folder (project, not root)

@norohind
Copy link
Author

norohind commented May 2, 2022

Thanks for schema.

Is there any reason you want to host this yourself?

I wanted use it in order to collect and examine journals from small group of about 5 people (with their agreement, of course) in research purposes.

@itssimple
Copy link
Owner

I've just committed some more data into the repo that should help you setup the service.

Not an entire documentation on it, but should be a bit easier at least.

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