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

Meteor Startup #88

Merged
merged 13 commits into from
Mar 22, 2024
Merged

Meteor Startup #88

merged 13 commits into from
Mar 22, 2024

Conversation

HenrithicusGreenson
Copy link
Collaborator

@HenrithicusGreenson HenrithicusGreenson commented Mar 7, 2024

This PR will add the following:

  • Make Genisys web UI run on startup

Adding clients will now be done though a modified GenisysInventory module which will interface with the mongodb instance to add clients.
Runs meteor server, initializes environment variables
If any changes are made to the meteor project this file will need to be rebuilt
This file will need to be rebuilt if any changes are made to the meteor project
@HenrithicusGreenson HenrithicusGreenson changed the title Meteor Provisioning Functionality Meteor Startup Mar 20, 2024
@HenrithicusGreenson HenrithicusGreenson marked this pull request as ready for review March 22, 2024 16:43
meteor-dev/server/main.js Outdated Show resolved Hide resolved
return
print('MONGO_URL found.')

if 'CONFIG_FILE' not in os.environ:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where will CONFIG_FILE get set at? Is it expected that the user will set it before they run genisys server? That could be redundant if the user has to do CONFIG_FILE=/path/to/genisys.yaml genisys server -f /path/to/genisys.yaml

@xeluior
Copy link
Owner

xeluior commented Mar 22, 2024

We are officially targeting python3.10, but pkg_resources will be deprecated with 3.12
image
(from https://setuptools.pypa.io/en/latest/pkg_resources.html)

@HenrithicusGreenson HenrithicusGreenson merged commit 61e7fb5 into main Mar 22, 2024
9 of 10 checks passed
@HenrithicusGreenson HenrithicusGreenson deleted the Meteor-Provisioning branch March 22, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
4 participants