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

Move all editable files into one folder #10

Closed
Bounz opened this Issue Jan 9, 2018 · 1 comment

Comments

2 participants
@Bounz
Copy link
Owner

Bounz commented Jan 9, 2018

To move towards docker deployment we need to move all configuration and data files to be stored in one folder, so this folder might be mapped on host file system.
Also, we need to check, that first start of the system would create all these files (ex. factory defaults).

@Bounz Bounz added this to the 1.1.16 milestone Jan 26, 2018

@Bounz

This comment has been minimized.

Copy link
Owner Author

Bounz commented Mar 18, 2018

So, here is a proposal of folder structure:

root installation folder
- bin			- core/backend of HG
- web			- core/frontend part
- data			- settings, statistics database, modules, automation programs
  - programs	        - precompiled automation programs
  - plugins		- interfaces, gateways, widgets
    - interfaces
    - gateways
    - widgets
- logs
- tmp

In such configuration, we will need to mount to Docker container only two directories: data and logs.
And in my opinion, we should install all plugins/packages into separate folders inside plugins folder because packages may bring dependent assemblies and I don't want to create a mess of assemblies in one folder.

@davidwallis3101 davidwallis3101 self-assigned this Mar 19, 2018

@Bounz Bounz added this to To Do in Kanban board via automation Apr 21, 2018

@Bounz Bounz moved this from To Do to In progress in Kanban board Apr 21, 2018

@Bounz Bounz self-assigned this Apr 21, 2018

Bounz added a commit that referenced this issue May 2, 2018

Bounz added a commit that referenced this issue May 4, 2018

Bounz added a commit that referenced this issue Jun 10, 2018

Bounz added a commit that referenced this issue Jun 10, 2018

HGBE #10. Refactored PackageManager to work with new file structure. …
…Splitted default interfaces (ZWave, X10, UPnP) into different projects.

Bounz added a commit that referenced this issue Jun 10, 2018

Bounz added a commit that referenced this issue Jun 10, 2018

Bounz added a commit that referenced this issue Jun 10, 2018

Bounz added a commit that referenced this issue Jun 10, 2018

Bounz added a commit that referenced this issue Jun 10, 2018

Bounz added a commit that referenced this issue Jun 11, 2018

HGBE #10. Restore backups from the HGBE.
Changed the filename for a backup archive.
Changed the way, how assemblies are loaded into AppDomain (to be able to replace their files during restore).

Bounz added a commit that referenced this issue Jun 12, 2018

Bounz added a commit that referenced this issue Jun 12, 2018

HGBE #10. Changed the method, how new restore process works to fix th…
…e issue with assemblies, loaded from memory streams.

That leads to issues in interfaces because the interface doesn't know its location on disk.

Bounz added a commit that referenced this issue Jun 12, 2018

Bounz added a commit that referenced this issue Jun 12, 2018

Bounz added a commit that referenced this issue Jun 12, 2018

Merge pull request #74 from Bounz/master
HGBE #10. Load all dependant assemblies during interface assembly loa…

@Bounz Bounz closed this Jul 13, 2018

Kanban board automation moved this from In progress to Done Jul 13, 2018

@Bounz Bounz moved this from Done to Released in Kanban board Jul 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment