Coder Social home page Coder Social logo

acme-ui's Introduction

acme-ui

The Angular UI application

###Project Layout server client

###Build dependencies

Build

./gradlew build

For more verbose output run with the debug flag

./gradlew build --debug

Run only acme-ui

./gradlew :bootRun wont work due to this bug -- spring-cloud/spring-cloud-netflix#60

Instead do it the old fashion way...

java -jar acme-ui.jar

If you wish to run this with unoptimized js/css for easy debugging, and have your changes on the file system to static resource update immediately, you can run this application as follows.

From the root acme-ui directory, run the following command:

java -jar server/build/libs/acme-ui.jar --spring.profiles.active=local-dev --app.workdir=/Users/billy/Dev/Git-Repos/spring-cloud-examples/acme-ui

Where app.workdir is the full path to the acme-ui directory.

To enable automatic rebuilding of the coffee and less run the following command in a new window.

cd client
gulp watch

Now whenever you make changes to coffee or less files they will be automatically updated when you refresh your browser. You can see how this works by examining the WebConfig in the server. This was inspired by the resource handling talk at s2gx. Basically what happens is when the local-dev profile is active static resources are read right off the file system and caching is disabled.

Run All the applications

See spring-cloud-examples

acme-ui's People

Contributors

wgorder avatar

Watchers

 avatar  avatar

Forkers

amanurat

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.