Difference between revisions of "GPG guide/Repository and Publishing"

From LibrePlanet
Jump to: navigation, search
(added live instance docs)
m
Line 19: Line 19:
 
'''NOTE:''' Access to the live site is restricted, access is given on an as needed basis.
 
'''NOTE:''' Access to the live site is restricted, access is given on an as needed basis.
  
* Add the following remote repository: <code>git remote add live git@vcs.fsf.org:enc-live.git</code
+
* Add the following remote repository: <code>git remote add live git@vcs.fsf.org:enc-live.git</code>
 
* When you are ready to push to the live site, use: <code>git push live master</code>
 
* When you are ready to push to the live site, use: <code>git push live master</code>
 
* Your changes will be then pushed to http://emailselfdefense.fsf.org
 
* Your changes will be then pushed to http://emailselfdefense.fsf.org

Revision as of 14:42, 18 June 2014

Checkout Out Project

The repository can be checked out via the following command: git clone git@vcs.fsf.org:enc.git --recursive

NOTE: The --recursive option will checkout this projects submodule, which for this project is used for commiting static content into static.fsf.org. If you forget the --recursive option, you can get the submodule later with the following command: git submodule update --init

The Hooks

The repository has the following hooks:

Pushing to the Live Instance

NOTE: Access to the live site is restricted, access is given on an as needed basis.

  • Add the following remote repository: git remote add live git@vcs.fsf.org:enc-live.git
  • When you are ready to push to the live site, use: git push live master
  • Your changes will be then pushed to http://emailselfdefense.fsf.org