You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most difficult issue I see with creating a setup.py file is how I handle the web directory. Right now, when you run prepare it is hardcoded to write web/data.json then the web server code is hard-coded to read this data.json file.
I also need to:
Convert the collect_data.sh script into something runnable from python.
Add a configure command so you don't have to edit the config.json file.
Allow for default settings, such as setting an account to be the default account.
Due to the difficulties in getting cloudmapper to install as a result of it's dependencies on things like jq, I'm going to give up on this idea in favor of dockerizing it (#287)
The end result would be the ability to run:
The most difficult issue I see with creating a setup.py file is how I handle the web directory. Right now, when you run prepare it is hardcoded to write web/data.json then the web server code is hard-coded to read this data.json file.
I also need to:
collect_data.sh
script into something runnable from python.configure
command so you don't have to edit theconfig.json
file.For the webserver files, see https://stackoverflow.com/questions/6028000/how-to-read-a-static-file-from-inside-a-python-package/20885799#20885799
The text was updated successfully, but these errors were encountered: