Giter Site home page Giter Site logo

chrisemoulton / ux-framer-prototyping Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piervix/ux-framer-prototyping

0.0 1.0 0.0 137.15 MB

A 'work in progress' idea that allow you to create a Framer prototype starting from your Sketch. Nothing new, but there is a plus. You can design with Sketch, add animations and interactions with Framer and it's all automated using Gulp, Webpack and BrowserSync.

Home Page: https://goo.gl/5xmfQX

JavaScript 77.36% Shell 0.24% CoffeeScript 15.39% HTML 3.11% CSS 3.89%

ux-framer-prototyping's Introduction

What's this

A 'work in progress' idea that allow you to create a Framer prototype starting from your Sketch. Nothing new, but there is a plus. You can design with Sketch, add animations and interactions with Framer and it's all automated using Gulp, Webpack and BrowserSync.

You can work in your Sketch file, add interactions in your CoffeeScript main app file, save and automagically have the animated prototype updated with the new code and images inside the build folder.

Try Demo

Read blog post

Requirements

  • Node.js (tested with 4.4.1 LTS)
  • Gulp
  • Webpack
  • Framer.js and Framer Generator
  • sketch-tool (if you want to use it, there is a specific gulp task)
  • Sketch.app

Installation

  1. Start by cloning this project

  2. Install sketch-tool via brew:

    1. Make sure you have Homebrew version 0.9.5 or higher. You can check with $ brew --version
    2. If you don't have Homebrew Cask, run $ brew tap caskroom/cask
    3. Install sketch-tool with $ brew cask install sketch-tool
  3. Download and install Framer Generator

  4. Run $ npm install. At the moment it takes a lot to install and build Framer JS via Github, there should be a better solution (I had some problems with npm version of the library)

Usage

  1. Install gulp-cli $ npm install gulp-cli -g
  2. Run $ gulp or $ npm start
  3. Work on and save either src/app.coffee or src/assets.sketch
  4. Import with framer generator or use $ gulp:sketch to use sketch-tool
  5. You can create modules in the src/modules folder and src/modules them in your app.coffee

Gulp tasks

Clean

Run $ gulp clean to delete the entire build folder.

Watch

Run the default $ gulp task to watch our project folders, launch the server and enjoy live reload.

Build

Run $ gulp build to build our project and distribute.

Slices

Run $ gulp --slices to watch using sketch-tool.

Heroku deployment

You need an active Heroku account, then you can install heroku-toolbelt.

$ brew install heroku-toolbelt
$ heroku login
$ cd *your-app-folder*

Create the app and start a Git repository.

$ git init
$ git add .
$ git commit -am "starting!"
$ heroku create *app-name*
$ git push heroku master

We serve static files using Harp, we use a super simple configuration but if you want to learn more, just take a look at the documentation. You can modify the sample _harp.json.

ux-framer-prototyping's People

Contributors

piervix avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.