Getting started with the examples and the microproject
Code download for the examples
You will learn how to download the examples for this class
Create the initial directory for the teaching unit CSC7321
First of all you have to create the CSC7321 root directory. For this purpose open a terminal and type those lines
mkdir ~/CSC7321
cd ~/CSC7321
Download the REST examples
- Create a directory for the REST examples
cd ~/CSC7321/ mkdir REST-examples cd REST-examples
- Get the examples archive and uncompress the archive
wget http://www-inf.telecom-sudparis.eu/COURS/CSC-MW-Software-Installations/Examples/examples-rest.tgz tar xzvf examples-rest.tgz rm examples-rest.tgz
- Or get the examples from git
git clone git@gitlabens.imtbs-tsp.eu:enseignants-csc-mw/csc-mw-examples.git
Compile one REST example
In the terminal
- Compile the example REST-JSON-in-jakarta with maven
It should finish withcd ~/CSC7321/csc-mw-examples/ExemplesREST/REST-JSON-in-jakarta/ (or cd ~/CSC7321/ExemplesREST/REST-JSON-in-jakarta/) mvn clean install[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.583 s [INFO] Finished at: 2019-09-06T20:31:27+02:00 [INFO] ------------------------------------------------------------------------
Download the microproject skeleton
- Create a directory for your microproject
cd ~/CSC7321/ mkdir Microproject cd Microproject
- Get the examples archive and uncompress the archive:
git clone git@gitlabens.imtbs-tsp.eu:enseignants-csc-mw/csc-mw-project.git
Compile the vlibtour project
In the terminal
- Compile the project
cd ~/CSC7321/csc-mw-project mvn clean install
$Date: 2018-10-02 15:54:21 +0200 (mar. 02 oct. 2018) $