**********	Cancer Prediction Tool Code Directory Guide	**********

CancerPredictionTool
	-code
		-client
			+ This folder is the directory you would want to be in to deploy and build the solution. It contains the dependency package, and compile files for the solutions.
			-src
				+ Contains main files, components, and the style sheet file.
				-app
					+ Contains the components and routing for parts of the project. This directory is the main place to add, edit, and remove parts of the website.
					- Each subdirectory in this folder contains a component that is related to the name of the subdirectory.
		-server
			+ Contains .env file for the MongoDB Atlas node driver connection.
			-src
				+ Contains database schema files and REST API routing files.
	-Data
		+ Contains sample data provided by product owner for entering into database.



TO INSTALL AND MAINTAIN:
Download the files and open the directory in your preferred IDE.
Open the terminal and navigate to the ‘CancerPredictionTool/code/client’ directory.
Run the command ‘npm install’ to download and install all required dependencies.
Now you should be ready to update the code.

TO RUN THE WEB APP LOCALLY:
Open a terminal window and navigate to the ‘CancerPredictionTool/code/server’ directory.
Run the command ‘npx ts-node src/server.ts’ to start the local server on port 5200.
Open a terminal window and navigate to the ‘CancerPredictionTool/code/client’ directory.
Run the command ‘ng serve -o’ to build the solution and open the web app that is hosted locally.

TO PUSH CHANGES TO THE PRODUCTION WEB SERVER:
1. Open a terminal window and navigate to the ‘CancerPredictionTool/code/client’
directory.
2. Run the command ‘ng build’ to build the solution. The files you need are in the
‘CancerPredictionTool/code/client/dist’ directory.
3. Connect to the web server via SSH and SFTP to copy all of the files in the
‘CancerPredictionTool/code/client/dist/browser’ directory to the
‘/lclhome/projects/cancer’ directory. The updated web site should be live at https://cape.cs.fiu.edu.