Closed a-teammate closed 6 years ago
Audience | Target bundle format |
---|---|
Developers | git submodules |
Linux-Users | deb/rpm/snap/flatpack/... Package |
Windows-Users | Installer |
The file structure of the target bundle formats are different. In fact we need scripts to create a package or an installer automatically. This could be triggered by a new github tag.
For now the structure (for the release will be as following)
This currently involves having npm installed, see #364 Which could be deprecated by installers / packages in the future. Closing this for now
No, that would only work sanely for people using the prebuilt package from GitHub.
I would prefer a setup which is aimed towards developers in the file-structure. Meaning: looks as closely as possible like a monolithic package e.g. --- inexor -------- inexor-core -------------- bin -------------- src ... -------- inexor-flex -------------- config -------------- interfaces -------------- src
Is this somehow possible?
@a-teammate the structure would look like
--- inexor ------ inexor-core < -- we assume that this is the CWD --------- bin <-- compiled binary is here --------- src ------ inexor-flex <-- this will be in %APPDATA%./node_modules/ --------- src --------- server --------- bin ------ %APPDATA% or custom paths --------- bin <-- downloaded binary is here --------- interfaces --------- config --------- media --------- releases
you can configure all of the custom paths (which are determined by XDG standard paths) via NODE_ENV variables currently. We can ship a default .nodenv
file for development, as we like
so you have APPDATA/releases
and inexor/inexor-core
?
or was that a typo?
APPDATA/releases
is where the bundles from GitHub land. inexor-core
is your git clone of inexor-core
?
Why make them different folders if they're actually containing the same?
How would you determine the difference between a version-commit and the compiled one? One is for developers, one is for user-wide installation?
I think this ticket is (almost) resolved:
Inexor Flex and Inexor Core are loosely coupled:
A developer would make an link from the local development folder of Inexor Core to the releases folder and can use the local builds during development.
If we can close this issue, please change the milestone to 0.9.0-alpha first.
The architecture for this has been provided and implemented and is already live for ^0.9.0-preview
. Closing the ticket.
This is issue is about the file structure or the way to glue InexorFlex and InexorCore back together to one application.
This is an extended issue of #37