mjennings061 / viking-log-keeper

661 VGS - Collate gliding log sheets into a database and visual dashboard.
https://viking.streamlit.com/
MIT License
5 stars 0 forks source link

Migrating from Streamlit to CMG hosting #46

Open CameronMacG opened 7 months ago

CameronMacG commented 7 months ago

Discussions between MJ and Cameron have lead us to investigate hosting the software on Camerons dedicated hosting solution.

This will be done free of charge and will allow greater flexibility. Further investigations to be looked into creating a docker image of the application which will allow portability of the solution.

CameronMacG commented 7 months ago

New VM has been set up, however when running 'dashboard' within the new environment, the following error is presented;

ModuleNotFoundError: No module named 'log_keeper'

File "/home/dashboard/.pyenv/versions/3.12.1/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
File "/dashboard/viking-log-keeper/src/dashboard/main.py", line 20, in <module>
    from log_keeper.get_config import LogSheetConfig
mjennings061 commented 7 months ago

Seems to be working now! I will create a child issue to dockerise the dashboard

mjennings061 commented 7 months ago

Child issue here: #48