Adding sample data to the make file (#8171)

* Adding sample data to the make file

* Adding regular acct message
This commit is contained in:
Corey Hulen
2018-01-31 16:32:18 -08:00
committed by GitHub
parent f988e5bc30
commit 629bdb314e

View File

@@ -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