CSD 460 Capstone Project
- Install Tomcat 9.* Server
- must include these configs in /conf/tomcat-user.xml
<tomcat-users>
<role rolename="manager-script"/>
<user username="user" password="user" roles="manager-script"/>
</tomcat-users>
<user username="admin" password="admin" roles="tomcat,admin,admin-gui,manager,manager-gui"/>
from a command line run: git clone https://github.com/ryan-kite/Provisio.git
- Right click on the project properties
- Select “Project Facets“
- Check “Dynamic Web Module” & “Java“ > Apply & Close
- File > Import > Git > Projects from Git (with smart import) > next
- Clone URI > next
- URI: https://github.com/ryan-kite/Provisio.git > next
- Check main > next
- Configure local storage: Directory: (your-directory) > next > finish
- Provisio > run as > server
- Launches project in browser (close it)
- Stop server
- Edit Servers > Tomcat > server.xml -- and change the path to "/" e.g.) Context docBase="provisio" path="/" reloadable="true ...
- Re-launch project: provisio > Run as > Run on Server
create feature branch off of 'main'
- git status
- git checkout main
- Create your feature branch
- git checkout -b rk/my-new-feature-work
- git status (to see changed files)
- git add . (to stage all changed file for commit)
- git commit -m "A meaningful commit message about your work."
- git status (make sure all is well in the world)
- git push (you push your changes to the repo)
- notifty Ryan your branch is ready to be merged
- in the sql folder you will find files to build and populate your DB
- open your mysql terminal or GUI if using Workbench
- ensure you have already created user provisio user and password (see cheatsheet if needed.)
- build the database and tables with provisio_schema.sql
- populate the tables with provisio_populate.sql