https://github.com/advancedphotonsource/sdproc
https://github.com/advancedphotonsource/sdproc
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/advancedphotonsource/sdproc
- Owner: AdvancedPhotonSource
- Created: 2018-08-29T22:15:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:22:41.000Z (over 3 years ago)
- Last Synced: 2023-08-08T08:13:34.167Z (almost 3 years ago)
- Language: Python
- Size: 10.6 MB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDproc
## Development
- Download and install [anaconda](https://www.anaconda.com/download/#linux)
- Fork the project to your Git profile from: AdvancedPhotonSource/SDproc
## IDE
- Downlad and install [PyCharm](https://www.jetbrains.com/pycharm/download/#section=linux)
## Execute in terminal
```
# Clone the project from your fork
git clone
# cd into the project directory
cd toTheProject
# create a conda environment to run the applicaiton dependencies
conda env create -f anaconda/environment.yml
# activate the conda environment
conda activate SDproc
#Run this command every time you start a new terminal session to run the project
python app.py
```
## Notes
- DM module access
- to connect to DM api ask Sinisa for username and password
- DM module for some reason hides server log
- to fix this comment out the DM import
- line #58 and #88 on app.py file
- Access to DB
##### Execute in terminal
```
# cd into the data folder
cd SDproc/data
# open database
sqlite3 test.db
# view tables
.tables
# SQL example
select * from ;
# exit
cntrl + z
```