This project will create a static site used to demo Framer Studio projects. An example is available here:
http://pmarsceill.github.io/Jekyll-Framer-Template/
To use this project you must have a working version of Ruby and Node installed. For more information on installing these on your machine checkout:
After cloning / downloading:
$ bundle install
to install Gem dependancies.$ npm install
to install Node Package dependancies.$ grunt
to begin default grunt taskThe default grunt
task will do the following:
app.coffee
file into app.js
app.coffee
into the index.html
file as code and hightlight the syntax.html
, .css
, and .js
into the _site
directory*.coffee
, *.html
, *.css
files and re-run steps 1-3 if changes are detectedIf you wish to spin up a local webserver run the $ grunt serve
command and a local webserver will start on localhost:8000
with this project as it's root. This task will not watch for changes, but simply serve what has already been compiled. If you wish to setup your own custom webserver for editing purposes, it is recommended that you run $ grunt
and then point your webserver (like MAMP or Anvil) to the _site
directory.
Copy the app.coffee
, images/
, and imported/
files from your *.framer
project into the root of this project (overwriting any default files) and run $ grunt
or $ grunt serve
.
The contents of the generated _site
directory should be able to be put on any webserver for viewing.