Rfaulk has submitted this change and it was merged. Change subject: mod. More details. ......................................................................
mod. More details. Change-Id: I5628e316226f4fb998811e99bf39a4f7d27816ce --- M README.md 1 file changed, 8 insertions(+), 8 deletions(-) Approvals: Rfaulk: Verified; Looks good to me, approved diff --git a/README.md b/README.md index be341ec..3f57ca2 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ ---------------------------- Setup a Virtual Environment -~~~~~~~~~~~~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^^^^^^^^^^^^ (instructions to install a virtualenv here - http://www.virtualenv.org/en/latest/) @@ -45,7 +45,7 @@ Installing Umapi -~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^ Run `git clone ssh://[email protected]:29418/analytics/user-metrics` @@ -53,13 +53,12 @@ Configure the clone -~~~~~~~~~~~~~~~~~~~ +^^^^^^^^^^^^^^^^^^^ -In user_metrics/config run `cp settings.py.example settings.py` and configure as instructed below to point to datasources. +In user_metrics/config run `cp settings.py.example settings.py` and configure as instructed below to point to datasources. Ensure that +datasource hosts are reachable from your environment. To run the server execute: -`wmf_user_metrics` is packaged with distutils: - - $ sudo pip -e install . + $ python user_metrics/api/run.py Once installed you will need to modify the configuration files. This can be found in the file `settings.py` under @@ -74,7 +73,8 @@ # Project settings # ================ - + + version = {% your version %} __project_home__ = realpath('../..') + '/' __web_home__ = ''.join([__project_home__, 'src/api/']) __data_file_dir__ = ''.join([__project_home__, 'data/']) -- To view, visit https://gerrit.wikimedia.org/r/68956 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5628e316226f4fb998811e99bf39a4f7d27816ce Gerrit-PatchSet: 1 Gerrit-Project: analytics/user-metrics Gerrit-Branch: master Gerrit-Owner: Rfaulk <[email protected]> Gerrit-Reviewer: Rfaulk <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
