Giter VIP home page Giter VIP logo

hcard-builder's Introduction

hCard-Builder

A hCard Builder built using React/Redux, and styled with SASS.

Feel free to compile in your local environment, or download the working app from the 'compiled-app' folder.

or, hit up http://www.scottgangemi.com/hcard to see it up and running right now.

All up took about 6 - 6.5 hours to complete.

Note:

I unfortunately don't have a Windows machine to test on, so haven't been able to check what it looks like on IE10/IE11. Judging by my love of flexbox, some of the positioning might look a bit off on them, but the rest of the elements should look okay.

Setup Instructions:

  1. Download zip of project and unzip, or, clone the repo into your favourite directory.
  2. If you're in a rush, you can just head straight into the compiled-app directory and open index.html and it should be up and running locally right away. If you want to set it up, you're going to need to do a few things first.
  3. Navigate to the main directory in your terminal and run 'npm install'. If this doesn't work for you, you're probably going to need to install Node.js and NPM. If you run npm -v and you don't see a version number popup, head here to download Node and get it installed.
  4. Assuming node now works on your machine, run npm install
  5. Now the project packages are all installed, next thing to do is to compile the SASS for the project. Best tool for this is one called Compass. In your terminal run gem install compass, which you'll probably need admin privileges to do. After this is all installed, run compass compile in the same top level directory to compile the SASS.
  6. Final step is to compile our JS, which is done using Webpack. Webpack should have been installed when you installed your other node packages, but if it wasn't it may need to be installed globally. If this is the case, run npm install webpack to make sure it's installed.
  7. After this, run webpack -d to compile the Javascript.
  8. Head into the src folder and open up this index.html and everything should be up and running.

Troubleshooting:

If this still doesn't work for you, try and remove your npm packages in the main directory: rm -rf node_modules and then clean the npm cache: npm cache clean then try to install the NPM modules again npm install

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.