-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from TheJacksonLaboratory/develop
Develop
- Loading branch information
Showing
6 changed files
with
99 additions
and
292 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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Developers | ||
|
||
|
||
## Installable version of isopretGO (debian linux) | ||
|
||
To create an installable version of isopretGO for debian (e.g. Ubuntu) linux, run the following script (on a debian system). | ||
|
||
``` | ||
bash package.sh | ||
``` | ||
This will create a file called ``isopret-gui_1.0.0_amd64.deb``. | ||
|
||
We can install the file using this command (you may need to prepend sudo) | ||
|
||
``` | ||
dpkg -i isopret-gui_1.0.0_amd64.deb | ||
``` | ||
|
||
This will install an executable that can be started using this command | ||
|
||
|
||
``` | ||
/opt/isopret-gui/bin/isopret-gui | ||
``` | ||
|
||
If desired, the executable file can be moved elsewhere. We have uploaded the ``isopret-gui_1.0.0_amd64.deb`` file to the isopret-GO releases page. | ||
|
||
## Installable version ARM MacIntosh | ||
|
||
isopret-GO runs under Mac M1, M2, and M3. Older (intel-based) Mac systems are not supported at this time. To create an installer, | ||
run the same command as above. | ||
|
||
``` | ||
bash package.sh | ||
``` | ||
|
||
On a Mac, this command will create a file called ``isopret-gui-1.0.0.dmg``. Double clicking this file will install a version of isopret-gui in the Applications folder. | ||
We have uploaded this file to the releases page. | ||
|
||
|
||
|
||
|
||
## Set up documentation | ||
|
||
This step is not needed to run the application, but rather describes the code we use to | ||
generate the isopretGO documentation. | ||
Enter the following code to install mkdocs and run a server with the documentation locally. | ||
The GitHub action will create a comparable site online. | ||
|
||
``` | ||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install mkdocs | ||
pip install mkdocs-material | ||
pip install mkdocs-material[imaging] | ||
pip install mkdocs-material-extensions | ||
pip install pillow cairosvg | ||
pip install mkdocstrings[python] | ||
mkdocs serve | ||
``` | ||
|
||
Note that on an M1 Mac we have encountered a difficulty with mkdocs not finding the cairo library. This can be solved | ||
by running | ||
|
||
``` | ||
export DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/lib | ||
``` | ||
before running mkdocs serve. |
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.