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

Installation: default /mnt/thinx folder is not DRY and neither created automatically #100

Closed
suculent opened this issue Sep 11, 2019 · 3 comments

Comments

@suculent
Copy link
Owner

suculent commented Sep 11, 2019

Installer scripts is missing. It should require:

  1. data volume path
  2. SSL domain or cert path
  3. admin e-mail
  4. contents for config.json

Optionally:

  • Mailgun
  • Slack
    GOOGLE_ANALYTICS_ID
    ROLLBAR_ACCESS_TOKEN
    CRISP_WEBSITE_ID
    API_HOSTNAME
    APP_HOSTNAME
    LANDING_HOSTNAME
    SQREEN...
    ... etc.

Installer should do:
• Create /mnt structure with default data
• Generate initial logins for System MQTT, CouchDB and Redis, write .env files with only required info...

FIrst run should do:
• Create databases, design docs and filters.
• Create initial user (acknowledged + gdpr) and log its generated admin password to console.
• Generate admin MQTT API key and enable using mqtt_password

@suculent
Copy link
Owner Author

Required installation steps are actually in test process .circleci/config.yml

@suculent
Copy link
Owner Author

Databases are now initialized programatically on first run.

@keyguru
Copy link
Collaborator

keyguru commented Jul 4, 2020

Everything is now solved using .env file for long time, closing.

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