-
Notifications
You must be signed in to change notification settings - Fork 4
Deprecated Wiki Pages
Assuming you have followed the QLF installation instructions
- Make sure you activate the quicklook environment
source ~/miniconda3/bin/activate quicklook
export QLF_ROOT=$HOME/quicklook
- Start QLF
cd $QLF_ROOT/qlf/qlf
./run.sh
At this point you should have a database populated with data to feed the apps.
- Run another instance of the bokeh server (using, for instance, port 5007)
export PYTHONPATH=$PYTHONPATH:.
bokeh serve --port 5007 dashboard/bokeh/<name of the app>/main.py
-
Open the app in your browser at http://localhost:5007
-
Make changes in the code
Edit the file at dashboard/bokeh/<name of the app>/main.py
- Restart the bokeh server
Ctrl+c
bokeh serve --port 5007 dashboard/bokeh/<name of the app>/main.py
-
See the changes in the browser at http://localhost:5007
-
Have fun!
ql.linea.gov.br
is the testing server for QLF at LIneA. Follow these instructions to deploy a new QLF build. QLF builds are pushed to lineait
docker hub account on demand as new features are implemented.
- Install Docker
This step was already done at ql.linea.gov.br
server, but is documented here for completeness:
ql.linea.gov.br
(webback5) runs CentOS 7, follow this installation steps to install docker. A sudo user is required.
After the installation add the quicklook
user to the docker group.
sudo usermod -aG docker quicklook
-
Follow the README.md instructions if you need to create a new build for QLF, otherwise go to step 3.
-
Run the docker image
Verify that docker is running:
sudo systemctl status docker
Change to quicklook
user at ql.linea.gov.br
sudo su quicklook
and run the latest docker image available. Suppose it is tagged v0.5
, then
docker run -it -p 5006:5006 -p 8000:8000 lineait/qlf:v0.5
docker
will pull the lineait/qlf:v0.5
image from docker hub and deploy it. The application will run at:
http://ql.linea.gov.br:8000
To check the docker processes running use:
docker ps -a