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: CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ make swagger-gen
20
20
21
21
This will update all the necessary code.
22
22
23
-
`./restapi/configure_mcs.go` is a file that contains the handlers to be used by the application, here is the only place where we need to update our code to support the new apis. This file is not affected when running the swagger generator and it is safe to edit.
23
+
`./restapi/configure_console.go` is a file that contains the handlers to be used by the application, here is the only place where we need to update our code to support the new apis. This file is not affected when running the swagger generator and it is safe to edit.
24
24
25
25
## Unit Tests
26
26
`./restapi/handlers_test.go` needs to be updated with the proper tests for the new api.
Pull requests can be created via GitHub. Refer to [this document](https://help.github.com/articles/creating-a-pull-request/) for detailed steps on how to create a pull request. After a Pull Request gets peer reviewed and approved, it will be merged.
48
48
49
49
## FAQs
50
-
### How does ``mcs`` manages dependencies?
50
+
### How does ``console`` manages dependencies?
51
51
``MinIO`` uses `go mod` to manage its dependencies.
52
52
- Run `go get foo/bar` in the source folder to add the dependency to `go.mod` file.
53
53
54
54
To remove a dependency
55
55
- Edit your code and remove the import reference.
56
56
- Run `go mod tidy` in the source folder to remove dependency from `go.mod` file.
57
57
58
-
### What are the coding guidelines for mcs?
59
-
``mcs`` is fully conformant with Golang style. Refer: [Effective Go](https://github.com/golang/go/wiki/CodeReviewComments) article from Golang project. If you observe offending code, please feel free to send a pull request or ping us on [Slack](https://slack.min.io).
58
+
### What are the coding guidelines for console?
59
+
``console`` is fully conformant with Golang style. Refer: [Effective Go](https://github.com/golang/go/wiki/CodeReviewComments) article from Golang project. If you observe offending code, please feel free to send a pull request or ping us on [Slack](https://slack.min.io).
Copy file name to clipboardExpand all lines: README.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,20 @@ A graphical user interface for [MinIO](https://github.com/minio/minio)
9
9
10
10
## Setup
11
11
12
-
All `mcs` needs is a MinIO user with admin privileges and URL pointing to your MinIO deployment.
12
+
All `console` needs is a MinIO user with admin privileges and URL pointing to your MinIO deployment.
13
13
> Note: We don't recommend using MinIO's Operator Credentials
14
14
15
-
1. Create a user for `mcs` using `mc`.
15
+
1. Create a user for `console` using `mc`.
16
16
```
17
17
$ set +o history
18
-
$ mc admin user add myminio mcs YOURMCSSECRET
18
+
$ mc admin user add myminio console YOURCONSOLESECRET
19
19
$ set -o history
20
20
```
21
21
22
-
2. Create a policy for `mcs` with access to everything (for testing and debugging)
22
+
2. Create a policy for `console` with access to everything (for testing and debugging)
23
23
24
24
```
25
-
$ cat > mcsAdmin.json << EOF
25
+
$ cat > consoleAdmin.json << EOF
26
26
{
27
27
"Version": "2012-10-17",
28
28
"Statement": [{
@@ -45,18 +45,18 @@ $ cat > mcsAdmin.json << EOF
45
45
]
46
46
}
47
47
EOF
48
-
$ mc admin policy add myminio mcsAdmin mcsAdmin.json
48
+
$ mc admin policy add myminio consoleAdmin consoleAdmin.json
49
49
```
50
50
51
-
3. Set the policy for the new `mcs` user
51
+
3. Set the policy for the new `console` user
52
52
53
53
```
54
-
$ mc admin policy set myminio mcsAdmin user=mcs
54
+
$ mc admin policy set myminio consoleAdmin user=console
55
55
```
56
56
57
57
58
58
### Note
59
-
Additionally, you can create policies to limit the privileges for `mcs` users, for example, if you want the user to only have access to dashboard, buckets, notifications and watch page, the policy should look like this:
59
+
Additionally, you can create policies to limit the privileges for `console` users, for example, if you want the user to only have access to dashboard, buckets, notifications and watch page, the policy should look like this:
60
60
```
61
61
{
62
62
"Version": "2012-10-17",
@@ -97,34 +97,34 @@ Additionally, you can create policies to limit the privileges for `mcs` users, f
0 commit comments