From 0b788cd0f464faf6672c26509134bc4fa39932a5 Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Tue, 24 Jan 2017 20:30:32 +0100 Subject: [PATCH] update README with CLI command changes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a53e2e..ee78b66 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ For getting a development version of Ana up & running, please go through the fol 1. Rename `.env.example` to `.env` and set your database credentials. 1. Create or migrate the database: `export $(cat .env | xargs) && $GOPATH/bin/migrate -url mysql://$ANA_DATABASE_USER:$ANA_DATABASE_PASSWORD@$ANA_DATABSE_HOST/$ANA_DATABASE_NAME -path ./db/migrations up` 3. Compile into binary: `make` -4. Create your user account: `./ana -create_user -email="johndoe@email.com" -password="...."` +4. Create your user account: `ana register ` 5. Run default Gulp task to build static assets: `gulp` -6. Start the webserver: `./ana -start_server -port=8080` & visit **localhost:8080** to access your analytics dashboard. +6. Start the webserver: `ana server --port=8080` & visit **localhost:8080** to access your analytics dashboard. To start tracking, include the following JavaScript on your site and replace `ana.dev` with the URL to your Ana instance.