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/03_contributing.md
+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
@@ -16,7 +16,7 @@ MSS is completely written in Python. The GUI is built using [PyQT5](https://www.
16
16
17
17
## Setup Instructions
18
18
19
-
You can quickly setup MSS on your machine by following the steps given in our [setup instructions](/develop/Setup-Instructions). If you want to use Docker you can follow the steps in our [docker setup guide](/develop/docker_images). For more details, you can read [Mission Support System’s Documentation](https://mss.readthedocs.io/en/stable)
19
+
You can quickly setup MSS on your machine by following the steps given in our [setup instructions](/develop/Setup-Instructions).
Copy file name to clipboardExpand all lines: docs/04_gsoc.md
+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
@@ -23,7 +23,7 @@ If you have any question please feel free to ask any of the mentors on our #gsoc
23
23
We have labled small sized issues as "good first issue" on <https://github.com/Open-MSS/MSS/issues>.
24
24
25
25
# Getting Started
26
-
- You can quickly setup MSS on your machine by following the steps given in our [setup instructions](/develop/Setup-Instructions). If you want to use Docker you can follow the steps in our [docker setup guide](/develop/docker_images). For more details, you can read [Mission Support System’s Documentation](https://mss.readthedocs.io/en/stable)
26
+
- You can quickly setup MSS on your machine by following the steps given in our [setup instructions](/develop/Setup-Instructions). For more details, you can read [Mission Support System’s Documentation](https://mss.readthedocs.io/en/stable)
27
27
- You can go through the issues labelled as [good first issue](https://github.com/Open-MSS/MSS/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) on our github repository and pick an issue you feel you can take up. Please write a comment on the issue you're taking up so multiple people don't work on the same issue. If you have any doubts related to the issue feel free to ask us on the Slack channel. You can also report any new issue you find on the Slack channel itself.
28
28
- Once you've found the issue you want to work on you need to create a new branch on your local clone of the project and start working on it. As a general rule of thumb, bug fixes go to the `stable` branch while enhancements and other new features go to the `develop` branch. Generally it is mentioned in the issue itself which branch the fix needs to go. Otherwise you can always ask us on Slack.
29
29
- To start working, create a new git branch, write your code, commit it and push this branch to your fork. Now create a pull request to the Master Repo's `develop` or `stable` branch. All pull requests must pass the test pipeline before they are merged.
MSS has 3 main components. These are MSUI (GUI), MSWMS (web map server) and MSCOLAB (collaboration server). You can run all 3 components individually on your system.
51
52
(Before running any of the commands make sure you have activated your environment.)
52
53
53
-
You need to first add the main mss folder which will be created in your home directory to your python path. Go into the cloned repo and update your python path:
54
+
You need to first add the mss folder where additional configurations can become provided.
55
+
There the mswms_demodata adds the mswms demo server configuration.
54
56
57
+
```sh
55
58
$ cd MSS
56
-
$ export PYTHONPATH="`pwd`:$HOME/mss"
59
+
$ pixi shell -e dev
60
+
$ (MSS) export PYTHONPATH=$HOME/mss"
61
+
```
57
62
58
63
To start the MSS PyQT application:
59
-
60
-
(mssdev) $ python mslib/msui/msui.py
61
-
64
+
```sh
65
+
(MSS) $ msui
66
+
```
62
67
When running MSWMS for the first time. Use the following command to create some dummy data:
63
-
64
-
(mssdev) $ python mslib/mswms/demodata.py --seed
65
-
68
+
```sh
69
+
(MSS) $ mswms_demodata --seed
70
+
```
66
71
To start MSWMS:
67
-
68
-
(mssdev) $ python mslib/mswms/mswms.py
69
-
72
+
```sh
73
+
(MSS) $ mswms
74
+
```
70
75
When running MSCOLAB for the first time you need to initialize your database (SQLite by default):
71
76
72
-
(mssdev) $ python mslib/mscolab/mscolab.py db --init
73
-
77
+
```sh
78
+
(MSS) $ mscolab db --init
79
+
```
74
80
If you want to seed your MSCOLAB database you can run:
75
81
76
-
(mssdev) $ python mslib/mscolab/mscolab.py db --seed
82
+
```sh
83
+
(MSS) $ mscolab db --seed
84
+
```
77
85
78
86
To start MSCOLAB server:
79
87
80
-
(mssdev) $ python mslib/mscolab/mscolab.py start
81
-
88
+
```sh
89
+
(MSS) $ mscolab start
90
+
```
82
91
## Running Tests
83
92
84
-
On linux install the conda package pyvirtualdisplay and xvfb from your linux package manager. This is used to run tests on a virtual display. If you don’t want tests redirected to the xvfb display just setup an environment variable:
0 commit comments