Skip to content
README.md 944 B
Newer Older
vertighel's avatar
vertighel committed
# software-di-controllo
Davide Ricci's avatar
Davide Ricci committed

OARPAF Instrument Control Software
Davide Ricci's avatar
Davide Ricci committed

Davide Ricci's avatar
Davide Ricci committed

## git configuration on observatory pc
To push directly on observatory pc (for people without access to INAF repo)
```
# on obseravatory pc
git config receive.denyCurrentBranch updateInstead

# on local machine
git remote add machine user@machine:software-di-controllo
git push machine main
```


Davide Ricci's avatar
Davide Ricci committed
## Python dependencies:
Davide Ricci's avatar
Davide Ricci committed

Davide Ricci's avatar
Davide Ricci committed
```
vertighel's avatar
vertighel committed
# For the core routines:
pip3 install requests loguru pyvantagepro astropy ping3 gnuplotlib
# For the API and the web interface:
pip3 install requests loguru flask==2.1.2 werkzeug==2.1.2 flask-restx flask-httpauth
Davide Ricci's avatar
Davide Ricci committed
```
Davide Ricci's avatar
Davide Ricci committed

Davide Ricci's avatar
Davide Ricci committed
Not used anymore in __init__:
```
!/usr/bin/env python3
-*- coding: utf-8 -*-

# System modules
import pkgutil

__all__ = []
for loader, module_name, is_pkg in pkgutil.walk_packages(__path__):
    __all__.append(module_name)
    _module = loader.find_module(module_name).load_module(module_name)
    globals()[module_name] = _module
Davide Ricci's avatar
Davide Ricci committed
```