Self Driving RC Car/2020: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 236: | Line 236: | ||
- start 'CarServer' in module 'rc-server' in IDE | - start 'CarServer' in module 'rc-server' in IDE | ||
- point your browser to http://localhost:8080 | - point your browser to http://localhost:8080 | ||
=== Creating a Fat Jar of the server === | |||
<source lang='bash'> | |||
../scripts/install.sh -h | |||
usage: install.sh [-d|-f|-j|-q]* [-h]? | |||
-d |--debug : debug this script | |||
-f |--fatjar : create a fat jar | |||
-j |--javadoc : with javadoc (default is without) | |||
-q |--quick : no tests, no javadoc | |||
-h |--help : show this usage | |||
</source> | |||
From the rc-server directory <nowiki>../scripts/install.sh -f -q</nowiki> | |||
should create a fat jar with the maven assembly-plugin | |||
<source lang='bash'>java -jar target/rc-server-0.0.2-jar-with-dependencies.jar</source> | |||
(Please replace 0.0.2 with the current version of the project) | |||
Should then start the server and the web ui should be available by either using | |||
http://localhost:8080 | |||
or using the index.html file or detect.html files from the sources in rc-webcontrol/src/main/resources/web/ | |||
= First Experiments = | = First Experiments = | ||