-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45e45f7
commit 45bf864
Showing
14 changed files
with
213 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,17 @@ | ||
# edly | ||
Electron diffraction simulator web dashboard. | ||
|
||
## Installation | ||
### python dependencies | ||
pip install flask plotly wheel tarikDrevonUtils | ||
|
||
### Development environment | ||
``` | ||
python3 -m venv .env | ||
cd .env | ||
source bin/activate | ||
git clone [email protected]:ccp4/electron-diffraction.git | ||
cd electron-diffraction | ||
pip install -e . | ||
``` | ||
Then a simple git pull on these dependencies will keep them up to date | ||
|
||
### Installing the js dependencies | ||
``` | ||
bower install jquery angular angular-aria angular-touch angular-bootstrap bootstrap-css bootstrap angular-chart jquery-ui plotly MathJax | ||
cd static | ||
ln -s ../bower_components . | ||
mkdir css | ||
wget -O css/all.css https://css.gg/css | ||
``` | ||
 | ||
|
||
<!-- ## Installing jsmol | ||
``` | ||
cd static | ||
wget https://sourceforge.net/projects/jmol/files/latest/download | ||
unzip download | ||
mv jmol<version> jmol | ||
cd jmol;unzip jsmol --> | ||
|
||
|
||
### installing the test dataset | ||
``` | ||
cd static/data/; ln -s ../../test test | ||
``` | ||
## Installation | ||
Run the `install.sh` file to complete installation. | ||
|
||
## Miscellaneous | ||
### datasets | ||
Experimental dataset (raw frames) are located in the `database` folder. Locally available datasets can manually be put in this directory. | ||
|
||
### Clear a session info | ||
They should be cleared every day but can be cleared manually with : | ||
Automatically cleared every day but can also be cleared manually with : | ||
``` | ||
rm -rf static/data/tmp/<session_id> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.