Giter Site home page Giter Site logo

earthserver-client's Introduction

EarthServer Client

The EarthServer Client is one of the lighthouse applications of EarthServer.

Technologies used

The application uses Yeoman which integrates:

  • Yo : scaffolds out the application, writing the Grunt configuration and pulling in relevant Grunt tasks that you might need for your build.
  • Grunt : which allows building, previewing and testing the project
  • Bower : which allows managing of dependencies and automatic download, thus making the application easily extendable.

Libraries used

How to setup development environmet (on a Linux machine)

  1. Get the code from GitHub EarthServer Client repository:

    git clone [email protected]:santilland/earthserver-client.git
    
  2. Install development enviroment:

    Make sure Node.js and NPM are installed on your machine and run:

    cd ./earthserver-client
    sudo npm install -g grunt-cli
    sudo npm install -g bower 
    npm install 
    

    These commands install the needed Node.js packages. In case of any trouble try to use reasonable recent version of Node.js. Also note that newer versions of Node.js contain the NPM already bundled in the baseline installation.

  3. Install client dependencies:

    The required JavaScript librabries can be installed by:

    bower install
    
  4. Start the Grunt development server:

    grunt server 
    

    this should automatically open a the client on your default web browser, if not point your browser to localhost:9000.

If you managed to reach this the last step you can start to hack the code. The development server by grunt watches for saved changes in the code and will update the page automatically.

How to deploy the code on a the server

  1. Create deployment package:

    grunt build
    

    This command creates dist directory containing the produced deployment version. This directory should be then packed by some archiving tool (zip, tar, cpio ... etc.) creating the deployment package.

  2. Put the content of the deployment package to your server and make sure the web server can access the index.html file.

earthserver-client's People

Contributors

martinhecher avatar mlocher avatar santilland avatar ungarj avatar

Watchers

 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.