Skip to content

VaporExamplesLab/quickstart-bootstrap-blog-updater

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/quickstart-bootstrap-blog-updater/archive/master.zip
unzip master.zip -d quickstart-bootstrap-blog-updater
rm master.zip     # remove download

cd quickstart-bootstrap-blog-updater-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/quickstart-bootstrap-blog-updater.git 

cd quickstart-bootstrap-blog-updater

# 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 quickstart-bootstrap-blog-updater example.

mkdir quickstart-bootstrap-blog-updater
cd quickstart-bootstrap-blog-updater
swift package init --type executable
swift package generate-xcodeproj
open quickstart-bootstrap-blog-updater.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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages