mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Adding sample data to the make file (#8171)
* Adding sample data to the make file * Adding regular acct message
This commit is contained in:
9
Makefile
9
Makefile
@@ -380,6 +380,15 @@ cover: ## Runs the golang coverage tool. You must run the unit tests first.
|
||||
$(GO) tool cover -html=cover.out
|
||||
$(GO) tool cover -html=ecover.out
|
||||
|
||||
test-data: start-docker ## Add test data to the local instance.
|
||||
$(GO) run $(GOFLAGS) $(GO_LINKER_FLAGS) $(PLATFORM_FILES) sampledata -w 1
|
||||
|
||||
@echo You may need to restart the Mattermost server before using the following
|
||||
@echo ====================================================================================
|
||||
@echo Login with a system admin account email=user-0@sample.mattermost.com password=user-0
|
||||
@echo Login with a regular account email=user-1@sample.mattermost.com password=user-1
|
||||
@echo ====================================================================================
|
||||
|
||||
run-server: start-docker ## Starts the server.
|
||||
@echo Running mattermost for development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user