Giter Club home page Giter Club logo

Comments (9)

cantino avatar cantino commented on May 16, 2024

Thanks @ghelleks! The wiki is a great start for people who want to deploy to OpenShift.

from huginn.

cantino avatar cantino commented on May 16, 2024

Hey @ghelleks, would you mind taking a look at #35 and letting me know if it all looks good for your upcoming OpenShift PRs?

from huginn.

ghelleks avatar ghelleks commented on May 16, 2024

Yup, those are exactly the changes I was hoping for!

from huginn.

ghelleks avatar ghelleks commented on May 16, 2024

Two questions:

  1. Looks like the deployment fixes dropped support for TCP connections to mysql. Was that intentional?
  2. Would you prefer an .env.example for openshift, or use OpenShift env vars as a fallback default, eg:

database: <%= ENV['DATABASE_NAME'] || ENV['OPENSHIFT_MYSQL_DB_NAME'] || "huginn_production" %>

Using .env.example would make use of OpenShift explicit, the latter would mean Huginn runs out of the box.

from huginn.

cantino avatar cantino commented on May 16, 2024
  1. That was unintentional. Can you send a pull request?
  2. I think example configuration for OpenShift in the wiki would make
    sense, or .env.example.openshift if you think that would be much better.

On Wed, Apr 3, 2013 at 7:50 AM, Gunnar Hellekson
[email protected]:

Two questions:

  1. Looks like the deployment fixes dropped support for TCP connections
    to mysql. Was that intentional?
    2.

    Would you prefer an .env.example for openshift, or use OpenShift env
    vars as a fallback default, eg:

    database: <%= ENV['DATABASE_NAME'] || ENV['OPENSHIFT_MYSQL_DB_NAME']
    || "huginn_production" %>


Reply to this email directly or view it on GitHubhttps://github.com//issues/30#issuecomment-15841118
.

from huginn.

cantino avatar cantino commented on May 16, 2024

@ghelleks Would you consider this finished? Is the Wiki article complete at this point?

from huginn.

ghelleks avatar ghelleks commented on May 16, 2024

Yeah, I think we're in good shape. Anything further can be covered in a separate, more specific issue. Thanks!

from huginn.

emorisse avatar emorisse commented on May 16, 2024

INVITATION_CODE is not exported in .env.openshift

see attached diff

git diff 7cede9a .env.openshift
diff --git a/.env.openshift b/.env.openshift
index 46dd38e..4652585 100644
--- a/.env.openshift
+++ b/.env.openshift
@@ -46,7 +46,7 @@ EMAIL_FROM_ADDRESS=[email protected]

This invitation code will be required for users to signup with your Huginn installation.

You can see its use in user.rb.

-INVITATION_CODE=try-huginn
+INVITATION_CODE=try-huginn-yo!

export
APP_SECRET_TOKEN
@@ -61,6 +61,7 @@ export
DATABASE_HOST
DATABASE_PORT
DATABASE_SOCKET \

  •   INVITATION_CODE \
    
    SMTP_DOMAIN
    SMTP_USER_NAME
    SMTP_PASSWORD \

from huginn.

ghelleks avatar ghelleks commented on May 16, 2024

Fixed in c91cd12

from huginn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.