Difference between revisions of "GPG guide/Repository and Publishing"
(→The Hooks) |
(added live instance docs) |
||
Line 14: | Line 14: | ||
* vcs.fsf.org:enc-static.git (a submodule of the vcs.fsf.org:enc.git, it is found in the static/ directory of its parent repository). | * vcs.fsf.org:enc-static.git (a submodule of the vcs.fsf.org:enc.git, it is found in the static/ directory of its parent repository). | ||
** When master is pushed to, http://static.fsf.org/nosvn/enc/enc-dev0 | ** When master is pushed to, http://static.fsf.org/nosvn/enc/enc-dev0 | ||
+ | |||
+ | == 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: <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> | ||
+ | * Your changes will be then pushed to http://emailselfdefense.fsf.org |
Revision as of 13:41, 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:
- vcs.fsf.org:enc.git
- When master is pushed to, http://enc-dev0.fsf.org is updated.
- vcs.fsf.org:enc-static.git (a submodule of the vcs.fsf.org:enc.git, it is found in the static/ directory of its parent repository).
- When master is pushed to, http://static.fsf.org/nosvn/enc/enc-dev0
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</code
- 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