offline-wikipedia
Demo of how something like Wikipedia could be offline-first
File Explorer
Download Latest Version (.zip)- flags.js
- wiki-display-date.js
- _article.scss
- _cached-articles.scss
- _card.scss
- _item-list.scss
- _material-switch.scss
- _search-results.scss
- _spinner.scss
- _subheading.scss
- _toasts.scss
- _toolbar.scss
- _components.scss
- _global.scss
- _utils.scss
- flags.scss
- head-wiki.scss
- head.scss
- wiki.scss
- wikipedia-192.png
- wikipedia.ico
- wikipedia.png
- index.js
- index.js
- article-content.hbs
- background-load.hbs
- cached-articles.hbs
- search-results.hbs
- article.js
- cached-articles.js
- search-results.js
- spinner.js
- toasts.js
- toolbar.js
- article-controller.js
- flags-controller.js
- flags.js
- global-controller.js
- home-controller.js
- index.js
- load-scripts.js
- utils.js
- index.js
- index.js
- indexeddouchbag.js
- storage.js
- wikipedia.js
- index.js
- index.js
- google589825ec7319e599.html
- manifest.json
- article-shell.dust
- article-stream.dust
- article.dust
- base.dust
- flags.dust
- index.dust
- article-header.hbs
- google.html
- google.json
- index.js
- .gitignore
- gulpfile.js
- index.js
- LICENSE
- package.json
- Procfile
- README.md
- server-package.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/jakearchibald/offline-wikipedia
Downloads the entire project code from GitHub to your computer.
cd offline-wikipedia
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm run update
Type this command into your terminal and run it.
npm run serve
Type this command into your terminal and run it.
npm run serve-no-sw
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
