Giter Club home page Giter Club logo

mp2's Introduction

Starter files for MP2

Setup

Use the following commands in your vagrant development environment to get this up and running

git clone --bare https://github.com/uiuc-web-programming/mp2_starter.git
cd mp2_starter.git
git push --mirror https://github.com/your-github-username/mp2.git
# Mirror-push to your mp2 repository. Use your github username in the URL. Change the URL if you're using bitbucket.
cd ..
rm -rf mp2_starter.git

git clone https://github.com/uiuc-web-programming/mp2_starter.git
cd mp2_starter
npm install
bower install
grunt compass
grunt uglify
grunt

Development

You should edit the following:

  • public/index.html - all files in the public folder will be served by the server
  • source_sass folder's files - all sass files here will be compiled to public/css/styles.css
  • source_js folder's files - all javascript files here will be uglified and put in public/js/script.js
  • public/foundation6_lib/scss/_settings.scss - Edit this file to make changes to the foundation components. Do not touch other files in this folder. All the foundation scss files here will be compiled and put in public/foundation6_lib/css/foundation.css

You can leave this command running in the background while development for livereloading:

grunt

Publishing & Submitting

When cloning to the server, run the setup commands again to ensure all the files are properly compiled.

Also, if you have problems debugging your JavaScript due to uglification, you can disable it by commenting out line 46 of gruntfile.js and uncommenting line 47. Your final submission should work with uglification though.

mp2's People

Contributors

sskhandek avatar biplabdeka avatar sidsethupathi avatar frank0098 avatar devinho avatar

Watchers

James Cloos avatar  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.