CSCI5828 Final Project for Team RemotelyPossible
This README is for developers and getting a local copy of the project set up. For project information, design, and deployment, please visit
###Common Links
- Gitter IM Room
- Boards & Issues
- [Burndown chart] (https://github.com/TeraInferno/CSCI5828-RemotelyPossible#reports?report=burndown&milestoneId=2095123)
- [Velocity chart] (https://github.com/TeraInferno/CSCI5828-RemotelyPossible#reports?report=velocity)
- [Progress report] (https://github.com/TeraInferno/CSCI5828-RemotelyPossible/wiki/Progress-Report)
- [Wiki] (https://github.com/TeraInferno/CSCI5828-RemotelyPossible/wiki)
- Get a local copy
- Inside the folder/directory, run:
mvn clean package
mvn exec:exec
- Point your web browser at: http://127.0.0.1:8080/
- Enabled Transparent 80/443 forwarding (run as root)
iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -A PREROUTING -t nat -p tcp --dport 443 -j REDIRECT --to-port 8443
Note: For simplicity, all package references will be shortened: edu.colorado.csci5828.remotelypossible.dlap -> dlap
dlap.Servers host the main() method to start the database and webserver. Customizable settings can be found in resources/app.properties. By default everything listens on localhost (127.0.0.1) only. The webserver listens on port 8080 and the database on port 60000.
When the database first starts, it create a new home in /webroot/WEB-INF/db (Please do not commit this directory or its files). You can switch between Production and Test instances using the envrioment variable DLAPDB=prod or DLAPDB=test. HyperSQL offers a couple of management tools if you want to "see" the database. The GUI can be run with:
java -cp hsqldb.jar org.hsqldb.util.DatabaseManagerSwing
and the CLI can be run using:
java -jar sqltool.jar
Note: Please see the resources/app.properties for connection information.
See dlap.stripes.actions
/webroot
/webroot/WEB-INF/jsp
dlap.model
src/main/java/resources/app.properties
Note: Very high level. More detail to be added as needed.
- Create a dlap.model class
- Create a dlap.stripes.action class
- Create a /webroot/WEB-INF/jsp page
- Add the page to dlap.common.ResourceUrls