Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malept/widget-time
Example Dropwizard + angular.js web app
https://github.com/malept/widget-time
Last synced: 16 days ago
JSON representation
Example Dropwizard + angular.js web app
- Host: GitHub
- URL: https://github.com/malept/widget-time
- Owner: malept
- License: gpl-3.0
- Created: 2014-05-29T19:44:31.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-29T20:09:25.000Z (over 10 years ago)
- Last Synced: 2024-11-04T09:25:11.359Z (2 months ago)
- Language: Java
- Size: 148 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Widget Time
===========An example Dropwizard + angular.js web app.
Quickstart
----------This assumes that you have a recent version of Maven and some flavor of the
Java 7 JDK installed... code-block:: shell-session
user@host:~$ git clone https://github.com/malept/widget-time.git
[...]
user@host:~$ cd widget-time
user@host:widget-time$ mvn package
[...]
user@host:widget-time$ java -jar target/widget-time-0.0.1-SNAPSHOT.jar serverAccess http://localhost:8080 to view the app in "action".
Vagrant
-------For consistency, a Vagrant environment has also been set up. It differs from a
"normal" development environment in that it automatically installs the JDK &
Maven, and uses nginx to serve up the static assets from the resources
directory, instead of from the JAR.To use this method, install Vagrant ≥ 1.5.0 and run the following:
.. code-block:: shell-session
user@host:widget-time$ vagrant up
[...]
user@host:widget-time$ vagrant ssh
[...]
vagrant@vagrant:~$ cd /vagrant
vagrant@vagrant:/vagrant$ # same steps as above, starting with `mvn package`You will be able to access the web app from http://localhost:9080 (note the
port number changed).