Newer
Older
labs / tiddlers / content / labs / lab09 / _Labs_09_Create the Repository and Project.md
We will be releasing the specification for milestone 2 shortly.

We have created a starting project for milestone 2 that contains everything that you need to create a Jooby web service with JDBI persistence and a Vue AJAX client.

1.	Copy the clone URL from the following page and clone the starting project.

	https://isgb.otago.ac.nz/info202/shared/milestone2

1. Create a repository on GitBucket named `milestone2`

1. <<linkFromPath path:"/Labs/03/Redirect the Repository" text:"Redirect">> the cloned project to your `milestone2` repository and push.

1.	Verify that the project is now in GitBucket.

1.	Copy the source packages, CSS folder, and JSP files from your milestone 1 project into your milestone 2 project.  The easiest way to do this is to use the files pane in NetBeans.

	* Copy and paste the <<folder "src/main/java">> and <<folder "src/main/resources">> folders from milestone 1 into the <<folder "src/main">> folder of milestone 2.
	
	* Copy and paste the <<folder "src/test">> folder from milestone 1 into <<folder "src">> of milestone 2.
	
	* Copy and paste the <<folder "src/main/webapp/css">> folder of milestone 1 into <<folder "static">> of milestone 2.
	
	* Copy and paste all of the JSP/HTML files in <<folder "src/main/webapp">> of milestone 1 into the <<folder "static">> folder of milestone 2.

1.	Delete the servlet classes.  They have no relevance to a CSR project and will not be needed.

1.	You should also delete the `JettyServer` class since we don't need it.

You can now work on the cloned milestone 2 repository since it is now attached to your repository.