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: coldfront/README.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,12 @@
4
4
- This is where you'd enable or disable any plugins and set variables for your local installation. Check out the [full configuration options available in the ColdFront documentation](https://coldfront.readthedocs.io/en/latest/config/)
5
5
- View `hpc-toolset-tutorial/coldfront/coldfront-nginx.conf` for an example of ColdFront web configuration
6
6
7
+
### Seed ColdFront with data for tutorial
8
+
This step allows you to skip the next section and go right into testing out ColdFront. This will seed the ColdFront database with user permissions and resources. If you'd like to see how this is done (because you'll need to do this if you install for your organization), you can skip this and go through the steps in the next section.
9
+
10
+
```
11
+
cat coldfront.dump | docker exec -i mysql mysql --user coldfrontapp --password=9obCuAphabeg coldfront
12
+
```
7
13
8
14
### Login to ColdFront, setup account permissions & create resource
9
15
URL https://localhost:2443/
@@ -13,7 +19,9 @@ You'll need to login as some of the users for this tutorial to get things starte
13
19
- Login locally as username `cgray` password: `test123`
14
20
- Logout
15
21
- Login locally as username `csimmons` password: `ilovelinux`
22
+
- Logout
16
23
- Login locally as username `sfoster` password: `ilovelinux`
24
+
- Logout
17
25
- Login locally as username `admin` password: `admin`
18
26
- Go to Admin menu and click on `ColdFront Administration` Once there, scroll halfway down to the `Authentication and Authorization` section. Then click on the `Users` link.
19
27
- Click on the hpcadmin user and scroll down to the `Permissions` section
@@ -29,7 +37,7 @@ You'll need to login as some of the users for this tutorial to get things starte
29
37
- Click on the Home link to go to back to the Admin interface, scroll to the bottom of the page under the `User` section and click `User Profiles`
30
38
- Click on `cgray` check ``"Is pi"`` - click SAVE
31
39
32
-
Create a new resource:
40
+
Create a new cluster resource:
33
41
- Click on the Home link to go to back to the Admin interface, scroll down near the bottom to the `Resource` section and Click on `Resources` then click the `Add Resource` button
34
42
- Add a resource with the following settings:
35
43
Resource type: select `cluster`
@@ -41,8 +49,20 @@ Click `Add another Resource attribute` and select `OnDemand` from the drop down
41
49
- Then click SAVE
42
50
**See more info on the OnDemand plugin at the end**
43
51
52
+
Create a new storage resource:
53
+
- Click on the Home link to go to back to the Admin interface, scroll down near the bottom to the `Resource` section and Click on `Resources` then click the `Add Resource` button
54
+
- Add a resource with the following settings:
55
+
Resource type: select `storage`
56
+
Name: type `project storage`
57
+
Description: enter anything you want
58
+
Ensure that the following are checked: `Is available`, `Is public`, `Is allocatable`
59
+
Under the resource attributes section, click `Add another Resource attribute` and select `quantity_label` from the drop down menu. In the `value` field, enter `Enter storage in 1TB increments`
60
+
Click `Add another Resource attribute` and select `quantity_default_value` from the drop down menu. In the `1`
61
+
Click `Add another Resource attribute` and select `OnDemand` from the drop down menu. In the `value` field, enter `Yes`
62
+
- Then click SAVE
63
+
44
64
Make an allocation attribute changeable:
45
-
- Under the `Allocation` section, click on `Allocation Attribute Types` Click on `slurm_account_name` check the box next to `Is changeable` and then click the SAVE button.
65
+
- Under the `Allocation` section, click on `Allocation Attribute Types` Click on `Storage Quota` check the box next to `Is changeable` and then click the SAVE button.
Copy file name to clipboardExpand all lines: docs/requirements.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ For this tutorial you will need to have **20GB of free disk space** and git, doc
4
4
5
5
- git 2.17+ (Windows users we recommend: https://gitforwindows.org/)
6
6
- docker engine version 20.10.12+
7
-
- docker-compose 2.6.0+
7
+
- dockercompose 2.6.0+ (this is distributed with newer versions of docker and not necessary to install separately)
8
8
9
9
NOTE: For Windows, if you haven't already done so, you will need to configure git not to convert line endings into Windows format. Run this command using the git-bash shell application before cloning the tutorial repo:
0 commit comments