From 629bdb314e4b4c735fa3a5b961ab7185eb74618c Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Wed, 31 Jan 2018 16:32:18 -0800 Subject: Adding sample data to the make file (#8171) * Adding sample data to the make file * Adding regular acct message --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2e4225aca..4830dcf45 100644 --- a/Makefile +++ b/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 -- cgit v1.2.3-1-g7c22