You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/installing/docker.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ GUI On A Linux OS
70
70
-v <APP_DIR>:/python \
71
71
ghcr.io/slaclab/rogue /python/<APP_NAME>
72
72
73
-
GUI On A MAX OS
73
+
GUI On A MAC OS
74
74
===============
75
75
76
76
First install XQuartz. Then run it from the command line using `open -a XQuartz`. In the XQuartz preferences, go to the “Security” tab and make sure you’ve got “Allow connections from network clients” ticked.
Copy file name to clipboardExpand all lines: docs/src/installing/miniforge.rst
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,18 @@ Installing Rogue With Miniforge
6
6
7
7
The following instructions describe how to install a pre-built Rogue package inside an miniforge environment. These instructions are relevant for Linux, Ubuntu on Windows and MacOS.
8
8
9
-
See the section :ref:`installing_windows` for additional steps required for Windows.
9
+
Windows installations will require you to install Ubuntu. Reference the section :ref:`installing_windows` for required steps.
10
+
Mac is not currently supported for rogue, and a VM or docker image is needed. Proceed to :ref:`installing_docker`.
11
+
12
+
Instructions for s3df setup are also available on `Confluence <https://confluence.slac.stanford.edu/spaces/ppareg/pages/591664140/Configure+miniforge+conda+and+Rogue+on+S3DF>`.
10
13
11
14
Getting Miniforge
12
-
================
15
+
=================
16
+
17
+
Download and install miniforge if you don't already have it installed on your machine. Choose an install location with a lot of available diskspace (> 5GB).
18
+
Miniforge appears to only work reliably in the bash shell.
13
19
14
-
Download and install miniforge if you don't already have it installed on your machine. Choose an install location with a lot of available diskspace (> 5GB). Miniforge appears to only work reliably in the bash shell.
20
+
*Linux*
15
21
16
22
.. code::
17
23
@@ -57,7 +63,7 @@ Alternatively you can install a specific released version of Rogue:
No additional setup scripts need to be run Rogue in an miniforge environment. To activate and de-activate the Rogue environment you can use the following commands:
63
69
@@ -83,7 +89,7 @@ The following command is used to install Rogue inside and existing miniforge env
83
89
84
90
85
91
Updating Rogue In Miniforge
86
-
==========================
92
+
===========================
87
93
88
94
If you want to update Rogue, run the following command after activating the Rogue environment
89
95
@@ -92,7 +98,7 @@ If you want to update Rogue, run the following command after activating the Rogu
92
98
$ conda update rogue -c tidair-tag
93
99
94
100
Deleting Miniforge Environment
95
-
=============================
101
+
==============================
96
102
97
103
Run the following commands to delete the miniforge environment.
Copy file name to clipboardExpand all lines: docs/src/installing/miniforge_build.rst
+22-8Lines changed: 22 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
.. _installing_miniforge_build:
2
2
3
-
==============================
3
+
===============================
4
4
Building Rogue Inside Miniforge
5
-
==============================
5
+
===============================
6
6
7
7
This section provides instructions for downloading and building rogue inside an miniforge environment. These
8
8
instructions are relevant for Linux
9
9
10
10
Getting Miniforge
11
-
================
11
+
==================
12
12
13
13
Download and install miniforge if you don't already have it installed on your machine. Choose an install location with a lot of available diskspace (> 5GB). Miniforge appears to only work reliably in the bash shell.
14
14
@@ -33,7 +33,7 @@ Set your local miniforge to use the update solver:
The next step is to download rogue and create a rogue compatible miniforge environment.
39
39
@@ -46,14 +46,15 @@ The next step is to download rogue and create a rogue compatible miniforge envir
46
46
47
47
You now have an miniforge environment named rogue_build which contains all of the packages required to build and run rogue.
48
48
49
+
You can alternatively clone the git repo with `git clone git@github.com:slaclab/rogue.git`.
49
50
To activate this environment:
50
51
51
52
.. code::
52
53
53
54
$ conda activate rogue_build
54
55
55
56
Building Rogue In Miniforge
56
-
==========================
57
+
============================
57
58
58
59
Once the rogue environment is activated, you can build and install rogue
59
60
@@ -69,7 +70,7 @@ The Rogue build system will automatically detect that it is in a conda environme
69
70
within the miniforge rogue environment.
70
71
71
72
Using Rogue In Miniforge
72
-
=======================
73
+
=========================
73
74
74
75
No additional setup scripts need to be run rogue in an miniforge environment. To activate and de-activate the rogue environment you can use the following commands:
75
76
@@ -86,7 +87,7 @@ To deactivate:
86
87
$ conda deactivate
87
88
88
89
Updating Rogue In Miniforge
89
-
==========================
90
+
===========================
90
91
91
92
If you want to update and re-install rogue, run the following commands.
92
93
@@ -101,9 +102,22 @@ If you want to update and re-install rogue, run the following commands.
101
102
$ make
102
103
$ make install
103
104
104
-
Deleting Miniforge Environment
105
+
Building and Viewing the Docs
105
106
=============================
106
107
108
+
Note: if edits are made to the source files, the full build process needs to be run for changes to reflect in documentation.
109
+
110
+
.. code::
111
+
# build the docs
112
+
$ cd ../docs/
113
+
$ make html
114
+
115
+
# view output on web browser
116
+
$ google-chrome build/html/index.html
117
+
118
+
Deleting Miniforge Environment
119
+
==============================
120
+
107
121
Run the following commands to delete the miniforge environment.
0 commit comments