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

Piergiorgio Lucidi commented on CONNECTORS-1495:
------------------------------------------------

Here I have something working as a preliminary environment for building the 
website using Docker:
 
{code:java}
FROM alpine:3.15.11
ARG ANT_VERSION=1.9.16
RUN apk update \        
    && apk upgrade \    
    && apk --update add openjdk7 \      
    && apk --update add subversion

#Installing Apache Ant 1.9.x
RUN mkdir -p /opt/ant/ \    
    && wget 
http://archive.apache.org/dist/ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz
 -P /opt/ant \      
    && tar -xvzf /opt/ant/apache-ant-${ANT_VERSION}-bin.tar.gz -C /opt/ant/ \   
    && rm -f /opt/ant/apache-ant-${ANT_VERSION}-bin.tar.gz      

ENV ANT_HOME=/opt/ant/apache-ant-${ANT_VERSION}ENV ANT_OPTS="-Xms256M -Xmx512M"
ENV PATH="${PATH}:${HOME}/bin:${ANT_HOME}/bin"

RUN apk add --no-cache python2 && \    
    python -m ensurepip && \    
    rm -r /usr/lib/python*/ensurepip && \    
    pip install --upgrade pip setuptools && \    
    rm -r /root/.cache{code}
 
Trying to use the container built with the image above, I have the following 
results:
 
{code:java}
/ # ant -version
Apache Ant(TM) version 1.9.16 compiled on July 10 2021
/ # java -version
java version "1.7.0_311"
OpenJDK Runtime Environment (IcedTea 2.6.27) (Alpine 7.311.2.6.27-r1)
OpenJDK 64-Bit Server VM (build 24.311-b01, mixed mode)
/ # python2
Python 2.7.18 (default, Oct 16 2021, 08:19:50)
[GCC 10.3.1 20210921] on linux2 {code}
I think that this can be a good start for managing the generation of the site 
contents.
I'm continuing investigating...

> Brand new website
> -----------------
>
>                 Key: CONNECTORS-1495
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1495
>             Project: ManifoldCF
>          Issue Type: New Feature
>          Components: Site
>    Affects Versions: ManifoldCF 2.9.1
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>            Priority: Major
>             Fix For: ManifoldCF next
>
>         Attachments: ManifoldCF-FluidoSkin.png, PDF-Rendition-1.png, 
> PDF-Rendition-2.png, Website - status - 20180510-2.png, Website - status - 
> 20180510.png
>
>   Original Estimate: 480h
>  Remaining Estimate: 480h
>
> The community decided to work on a brand new website:
> [http://mail-archives.apache.org/mod_mbox/manifoldcf-dev/201712.mbox/%3CCAHVHQx8odjgXMw%3DnhmSeDt0pYOUd0j%2BtkmMNtFnCJvHFcZwyEg%40mail.gmail.com%3E]
> The proposed technology is Jekyll but we have also to decide the website 
> template to use.
> [~kamaci] suggested the [Apache CloudStack|https://cloudstack.apache.org/] 
> template.
> [~molgun] proposed this approach:
>  # Find a modern new static site generator like Jekyll [1]
>  # Create a template
>  # Start to use it in a specific path like 
> [https://manifoldcf.apache.org/*new*]
>  # Migrate our Forrest xml's to Markdown (we can automate this somehow)
>  # Start to serve our new site on root path
> [1] [https://jekyllrb.com/docs/home/]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to