The Wayback Machine - https://web.archive.org/web/20190322180859/https://github.com/marko-js/markojs.com-legacy
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

This repository has been archived by the owner. It is now read-only.
Source code for markojs.com
Branch: master
Clone or download
Latest commit 817d704 Feb 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.browser-refresh-ignore
.gitignore
.jshintrc Try Marko Widgets Online! Sep 1, 2015
.npmrc
LICENSE
README.md
babel-preset.js
build.js
build.sh
configure.js Updated website Mar 18, 2016
package.json
preview.sh
publish.sh
push-all.sh Fix commit message Sep 2, 2015
routes.js
server.js
short-bio.md Initial commit Aug 27, 2015
site.json Updated website Mar 14, 2016

README.md

markojs.com source code

Running locally

git clone https://github.com/marko-js/markojs.com
cd markojs.com
npm install
npm start

Then visit: http://localhost:8080/

browser-refresh is also supported for instant page refreshes:

browser-refresh

The documentation is pulled from the marko and marko-widgets modules that are npm installed with this project. Specifically:

  • node_modules/marko/docs
  • node_modules/marko-widgets/docs

If you want, you can npm link those modules into this project:

npm link marko
npm link marko-widgets

Production preview

npm run preview

This will do a production build and start a local HTTP server.

To preview the production build, visit: http://localhost:8080/

Production publish

Make sure the following Github repo is in a sibling directory to this project:

cd ../
git clone https://github.com/marko-js/marko-js.github.io

Then run the npm run publish command which will do a build and copy the files over to ../marko-js.github.io and then finally do a git push origin master.

npm run publish
You can’t perform that action at this time.