<<<<<<< HEAD
build and deploy (ubuntu16, git2, maven3, tomcat9)
git clone https://github.com/nromanen/Ch-058.git; cd Ch-058- in config file
~/Ch-058/src/main/resources/application.propertiesyou might want to edit following propertiesfront.url- front urldb.url- db uri (db must be created manually)db.username&db.password- db credentials
mvn install && mv target/citizen.war /usr/share/tomcat9/webapps/ && /usr/share/tomcat9/bin/startup.sh- e.g. http://localhost:8080/citizen/
if you want to make changes to frontend
you have to cd to ~/Ch-058/front-end dir and run npm run dev after successful execution you'll see url.
to generate the production build you have to
- replace url with tomcat's url (e.g.
'http://localhost:8080/citizen') in~/Ch-058/front-end/src/main.js - run
npm run build, move all files from~/Ch-058/front-end/distto~/Ch-058/src/main/webapp - in
~/Ch-058/src/main/webapp/index.htmlput dots (ha-ha) on lines- after
<link href= - after
<script type=text/javascript src=
- after
- then repeat 3rd step of
build and deploy
=======
a3175f1c0fdab76be1cea3be0ec00b86a68e345b