Local installation
Last updated
Last updated
You can run pATLAS locally without much requirements by using . This will automatically handle the installation of the version 1.5.2 of pATLAS and launch the service in a local instance. For that you just require:
Then, follow this simple steps:
Clone the repository .
Enter the patlas-compose folder
Launch the compose:
Wait for the line * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
to show up, meaning that the service is now running.
Access on 127.0.0.1:5000
or 0.0.0.0:5000
.
pATLAS can be run locally if you have PostgreSQL installed and configured. After, you just need to:
1) Clone this repository:
3) Make sure all the necessary files are in place.
by default pATLAS generates a import_to_vivagraph.json
file in
the folder <tag_provided_to_o_flag>/results
. Place this file in the
patlas/db_manager/db_app/static/json
folder.
change session to read the new import_to_vivagraph.json
file by
changing from false
to true
a variable named devel
in
patlas/db_manager/db_app/static/js/pATLASGlobals.js
4) Create the database that the front end will run:
6) Install backend dependencies:
7) Install frontend dependencies:
8) Compile node modules so that the html can understand, using webpack:
9) Then execute the script run.py
.
Note: the database name is utterly important to properly say to the frontend where to get the data.
10) Go to 127.0.0.1:5000
.
Using the devel = true
isn't very efficient, so you can allow the force directed graph to render in a devel = true
session, then when you are satisfied pause the force layout using the buttons available in pATLAS and click at the same time Shift+Ctrl+Space
. This will take a while but eventually it will generate a file named filtered.json
. Once you have this file you can add it to the patlas/db_manager/db_app/static/json
folder and change the devel
variable to false
. This will use the previously saved positions to render a pre rendered network.
2) or or (the tar.gz
archive). Note: if you download the sql file from version 1.6.1 you may skip steps 3 to 4 and continue with step 5.
5)