This is an automated email from the git hooks/post-receive script.
bex pushed a commit to branch master
in repository fedora-budget.
commit 3e711fc239190bcd4c9f21dc2424b264a1bc6c56
Author: Brian (bex) Exelbierd <bex(a)pobox.com>
Date: Tue Apr 18 10:13:51 2017 +0200
Adding publishing directions
---
README.md | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/README.md b/README.md
index a200a49..8e2af14 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,33 @@ FY16 and FY15 are historical data from before the adoption of ledger.
FY17 cont
The website for the budget is
http://budget.fedoraproject.org There you will find the
data reported and documentation. This repo contains the files used to build that website
(using [
AsciiBinder](http://asciibinder.org/)) and the raw transaction data. This site is
rebuilt via a webhook (in progress) on Fedora's Jenkins Server. The built site is
pushed to the fedora-budget-site repository.
+# How is this site published
+
+Note: More complete information needs to be written, this is the "expert"
guide.
+
+## Publishing
+
+1. A [jenkins
job](https://jenkins.fedorainfracloud.org/job/Fedora_Budget/), triggered
manually by bexelbie today, creates the html and pushes it to the [publishing
repo](https://pagure.io/fedora-budget-site) on the stg branch.
+2. Once an hour infra has a script that gets any updated code from this repo and stages
it.
+3. Once an hour the mirrors sync the code base built in step #2.
+4. When stage looks good, bexelbie merges stg to prod in the publishing repo and steps 2
and 3 repeat.
+
+There is a conversation about more-frequent/on-depand publishing here:
https://pagure.io/fedora-infrastructure/issue/5747
+
+## Testing Locally
+
+The easiest way to test locally is:
+
+1. git checkout master
+1. git merge your_branch
+1. asciibinder package
+1. cd \_package/main
+1. mv budget/\* . ; accept all overwrites ignore the error about \_images
+1. docker run -p 3000:80 -v /path/to/cwd:/var/www/html:Z fedora/apache
+1. firefox localhost:3000
+
+Alternately, you can edit the `_distro_map.yml` to reference your topic branch and skip
straight to step 3 above.
+
# License
![Creative Commons
License"](http://mirrors.creativecommons.org/presskit/buttons/88x31/...
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.