From d3b1fd2e606f549c5ecc2a31c94d90aa93794005 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Wed, 10 Jul 2013 16:29:50 -0500 Subject: Updating docs regarding pulling in and fetching git submodules We use this for PDF.js now... we should reference that. This commit sponsored by Bonnie King. Thanks! --- docs/source/siteadmin/deploying.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/source/siteadmin/deploying.rst') diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 0ee6b5b4..9d7f83c1 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -157,9 +157,10 @@ directory. Modify these commands to reflect your own environment:: mkdir -p /srv/mediagoblin.example.org/ cd /srv/mediagoblin.example.org/ -Clone the MediaGoblin repository:: +Clone the MediaGoblin repository and set up the git submodules:: git clone git://gitorious.org/mediagoblin/mediagoblin.git + git submodule init && git submodule fetch And set up the in-package virtualenv:: @@ -194,7 +195,7 @@ This concludes the initial configuration of the development environment. In the future, when you update your codebase, you should also run:: - ./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate + ./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate && git submodule fetch Note: If you are running an active site, depending on your server configuration, you may need to stop it first or the dbupdate command -- cgit v1.2.3 From 64ad0beea83b1f4b50462bcb67c54156fc9365a5 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 14 Jul 2013 21:05:01 -0500 Subject: Fixing docs: git submodule update, not git submodule fetch! This commit sponsored by Charles Combs. Thank you! --- docs/source/siteadmin/deploying.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/source/siteadmin/deploying.rst') diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 9d7f83c1..751b01c5 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -160,7 +160,7 @@ directory. Modify these commands to reflect your own environment:: Clone the MediaGoblin repository and set up the git submodules:: git clone git://gitorious.org/mediagoblin/mediagoblin.git - git submodule init && git submodule fetch + git submodule init && git submodule update And set up the in-package virtualenv:: -- cgit v1.2.3 From b889f97156ecb9dc1d72cd8d52a21245e0d28834 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 23 Jul 2013 20:24:30 -0500 Subject: Move the "cd mediagoblin" to the right line. Thanks usrnix! This commit sponsored by Kenneth Dombrowski. Thanks! --- docs/source/siteadmin/deploying.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/source/siteadmin/deploying.rst') diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 751b01c5..50fc05c5 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -160,11 +160,11 @@ directory. Modify these commands to reflect your own environment:: Clone the MediaGoblin repository and set up the git submodules:: git clone git://gitorious.org/mediagoblin/mediagoblin.git + cd mediagoblin git submodule init && git submodule update And set up the in-package virtualenv:: - cd mediagoblin (virtualenv --system-site-packages . || virtualenv .) && ./bin/python setup.py develop .. note:: -- cgit v1.2.3