[ 
https://issues.apache.org/jira/browse/FLEX-33134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498843#comment-13498843
 ] 

Erik de Bruin commented on FLEX-33134:
--------------------------------------

This is so cool! I have distilled the following shell script from the 
instructions:

#! /usr/bin/env bash

# Instructions take from: http://apache.org/dev/cmsref.html#local-build

# Before the very first run, you:
#
# 1. install PERL and Python (if not already installed)
# 2. install 'Python setuptools' (http://pypi.python.org/pypi/setuptools)
# 3. install dependencies:
#   $ sudo easy_install Pygments
#   $ sudo easy_install ElementTree
#   $ sudo easy_install Markdown

# Set some paths:
# from http://svn.apache.org/repos/asf/incubator/flex/site/trunk/:
PATH_SVN_SITE="/Users/[username]/Documents/ApacheFlex/svn/apacheFlex-site"

# from https://svn.apache.org/repos/infra/websites/cms/build/:
PATH_SVN_CMS="/Users/[username]/Documents/ApacheFlex/cms"

PATH_LOCAL_HOST_APACHE="/Users/Shared/Sites/apache-flex"

# The setup (technically needs to run only once per session):
cd ${PATH_SVN_SITE}
export MARKDOWN_SOCKET=`pwd`/markdown.socket PYTHONPATH=`pwd`
cd ${PATH_SVN_CMS}
python markdownd.py
export PERL5LIB=${PATH_SVN_SITE}/lib/

# The actual build:
perl build_site.pl --source-base ${PATH_SVN_SITE} --target-base 
${PATH_LOCAL_HOST_APACHE}

Have fun!
                
> New Apache Flex website
> -----------------------
>
>                 Key: FLEX-33134
>                 URL: https://issues.apache.org/jira/browse/FLEX-33134
>             Project: Apache Flex
>          Issue Type: Task
>            Reporter: Tomasz Maciag
>            Assignee: Erik de Bruin
>         Attachments: apache_flex_website_psd.zip.001, 
> apache_flex_website_psd.zip.002, apache_flex_website_psd.zip.003, website.zip
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to