Skip to content

VaporExamplesLab/QuicWebbUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Documentation MIT License Swift 4.2

Getting StartedOriginal SetupResources

Getting Started

Prerequisites

Download|Clone & Run

Steps to download repository:

## go to your working directory
cd <your-choosen-directory-path>

## download and unzip
wget https://github.com/VaporExamplesLab/QuicWebbUpdater/archive/master.zip
unzip master.zip -d QuicWebbUpdater
rm master.zip     # remove download

cd QuicWebbUpdater-master

# update dependencies 
# with `-y` yes to generate and open Xcode project
vapor update -y

Or, alternate steps to clone repository instead of download:

## go to your working directory
cd <your-choosen-directory-path>

## either clone
##    add --bare option for an unattached instance
git clone git@github.com:VaporExamplesLab/QuicWebbUpdater.git 

cd QuicWebbUpdater

# update dependencies 
# with `-y` yes to generate and open Xcode project
vapor update -y

Set Xcode scheme Run Arguments.

--original-dir='path_original_blog_content'
--processed-dir='path_process_blog_content'
--verbose

Xcode Run Arguments

Click the run button and check the results in a browser at http://localhost:8080.

TBD:LandingPage

Original Setup

The following steps were completed to create the QuicWebbUpdater example.

mkdir QuicWebbUpdater
cd QuicWebbUpdater
swift package init --type executable
swift package generate-xcodeproj
open QuicWebbUpdater.xcodeproj/

Setting "upload" creation dates

cd <PATH>/blog_content_original/markdown
## -t changes access and modified times.
touch -t 201811220800 2018/11/FirstPost.md 

touch 2018/11/FirstPost_files/*
touch 2018/11/FirstPost_files/figure1.png
touch 2018/11/FirstPost_files/figure2.jpg
touch 2018/11/FirstPost_files/figure2.png
touch 2018/11/FirstPost_files/figure3.pdf
touch 2018/11/FirstPost_files/figure3.png
touch 2018/11/FirstPost_files/figure4.gif
touch 2018/11/FirstPost_files/figure4.png


touch 2018/11/FirstPost_files/more/*
touch 2018/11/FirstPost_files/more/folder-2103508.svg

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages