https://github.com/vaporexampleslab/quicwebbupdater
https://github.com/vaporexampleslab/quicwebbupdater
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vaporexampleslab/quicwebbupdater
- Owner: VaporExamplesLab
- Created: 2019-05-13T01:38:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-13T07:11:05.000Z (about 7 years ago)
- Last Synced: 2024-12-31T21:26:13.566Z (over 1 year ago)
- Language: Swift
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [QuicWebbUpdater][t]
[t]:https://github.com/VaporExamplesLab/QuicWebbUpdater
[Getting Started](#GettingStarted) •
[Original Setup](#OriginalSetup) •
[Resources](#Resources)
**Prerequisites**
* [Install Xcode 10 ⇗](https://itunes.apple.com/us/app/xcode/id497799835?mt=12)
* [Install homebrew ⇗](https://brew.sh/)
* [Install vapor toolbox ⇗](https://docs.vapor.codes/3.0/install/macos/)
**Download|Clone & Run**
Steps to download repository:
``` bash
## go to your working directory
cd
## 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:
``` bash
## go to your working directory
cd
## 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
```

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

The following steps were completed to create the `QuicWebbUpdater` example.
``` bash
mkdir QuicWebbUpdater
cd QuicWebbUpdater
swift package init --type executable
swift package generate-xcodeproj
open QuicWebbUpdater.xcodeproj/
```
Setting "upload" creation dates
``` bash
cd /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
```
* [Bootstrap ⇗](https://getbootstrap.com)