Quicker start for the app, better UI, More responsiveness, code cleaning, and more readability for the code
This commit is contained in:
@@ -1,36 +1,28 @@
|
||||
# Julia_msi_GUI<br />
|
||||
A Graphical User Interface for IMS in Julia: https://github.com/CINVESTAV-LABI/julia_mzML_imzML
|
||||
|
||||
## Local installation
|
||||
1. Launch Julia
|
||||
## Local Installation
|
||||
1. Make sure you have Julia installed, if not, follow the next installation guide for [juliaup](https://github.com/JuliaLang/juliaup) (recommended) or [julia] (https://julialang.org/downloads/platform/)
|
||||
2. Access the repository using this link:<br>
|
||||
https://github.com/Pixelguy14/Julia_msi_GUI<br>
|
||||
click "<b><> Code</b>" button then hit "<b>Download ZIP</b>"<br>
|
||||
unzip the file in your desired location<br>
|
||||
|
||||
## Load User Interface
|
||||
1. Launch Julia in your terminal using:
|
||||
```
|
||||
julia
|
||||
```
|
||||
2. set working directory to Julia_msi_GUI (this repository) code using
|
||||
2. Set working directory to Julia_msi_GUI (this repository) code using:
|
||||
```
|
||||
cd("PathToRepository/Julia_msi_GUI-main")
|
||||
```
|
||||
3. Enter Pkg mode by pressing the close square bracket once Julia has been loaded: ** Mostrar imagen del modo pkg**
|
||||
3. With the active directory being Julia_msi_GUI run the next script:
|
||||
```
|
||||
]
|
||||
include("start_MSI_GUI.jl")
|
||||
```
|
||||
3. Install the following libraries
|
||||
4. Alternatively, you can open a terminal in the path of the repository and run the command and skip the next step:
|
||||
```
|
||||
add Pkg Libz ; add https://github.com/CINVESTAV-LABI/julia_mzML_imzML ; add PlotlyBase ; add Statistics ; add CairoMakie ; add Colors ; add Genie
|
||||
julia start_MSI_GUI.jl
|
||||
```
|
||||
|
||||
## Load user interface
|
||||
1. set working directory to Julia_msi_GUI (this repository) code using
|
||||
```
|
||||
cd("PathToRepository/Julia_msi_GUI-main")
|
||||
```
|
||||
2. In the Pkg mode (enter by pressing "]" once Julia is rining) enter:
|
||||
```
|
||||
activate .
|
||||
```
|
||||
3. Get out from Pkg mode by pressing the backspace key and enter next line:
|
||||
```
|
||||
using Genie ; Genie.loadapp() ; up()
|
||||
```
|
||||
6. After the package is loaded, open the port generated by Genie to access the GUI by pressing cmd (macOS) or ctrl (Linux/Windows) in the http:// direction, as shown in the figure.
|
||||

|
||||
5. After the script has finished loading, it should open a page in your browser with the web app running.
|
||||
Reference in New Issue
Block a user