Giter VIP home page Giter VIP logo

toplist-app's Introduction

Meiwei Web App / Cordova App

The website http://mobile.clubmeiwei.com is optimized for touch event, only available on mobile devices.

Technical stuff

This web app works best on iOS 5+ Mobile Safari (iOS theme) and other modern browsers (web theme). It uses these wonderful scripts:

Also uses the Meiwei Django Rest API.

Some of the cutting-edge web technologies used:

Development stuff

  • Prerequisites

    • Install nodejs and git

    • Install Grunt's command line interface

        npm install -g grunt-cli
      
    • Prepare Project

        git clone [email protected]:DXDSpirits/meiwei-app.git
        cd meiwei-app
        npm install
      
  • Grunt tasks

    • Config distribute path

        echo '{"path": {"dest": "www", "src": "."}}' >> config.json
      
    • Compile templates in assets/template/* to generate www/assets/js/templates.js

        grunt templates
      
    • Concat JavaScript files in assets/js/app/* to generate assets/js/app.js

        grunt concat
      
    • Minify JavaScript files in assets/js/plugin/* and assets/js/app.js to generate www/assets/js/plugin/* and assets/js/app.js

        grunt uglify
      
    • Compile Sass files in assets/sass/* to generate www/assets/css/mobile.css

        grunt sass
      
    • Concat html files in mobile/* to generate www/index.html

        grunt includes
      
    • Copy images, fonts, vendor scripts and other static files to www

        grunt copy
      
    • Alternative to previous 6 commandes, eg. run templates + concat + uglify + sass + includes + copy at the same time

        grunt dist
      
    • Monitor files, run tasks when they're changed

        grunt watch
      
    • Run a local dev server.

        grunt connect
      

      Arguments:

      • --appcache - enable Application Cache
      • --port=XX - specify a custom port number
    • Run both watch and connect tasks at the same time

        grunt server
      

License

Licensed under the MIT License.

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.