The LCCC (Liquid Chromatography at the Critical Condition, or LC3x for short) web project was developed by the Chemistry department at the University of Memphis. This project involves a cloud hosted database of research experiments from the use of LCCC techniques to analyze complex mixtures and provide detailed information about their components. This doucment provides instructions on how to install and use the necessary software to run the web application on your local machine or hosting on a web server.
Link to the Angular setup guide if needed Angular setup local guide.
- Node.js.: Download here (LTS recommended) - Comes with NPM (Node Package Manager) during instllation process.
- Type
node -v
(check if Node is installed). - Type
npm -v
(check if Node Package Manager is installed).
- Type
- NPM: Type
npm install -g @angular/[email protected]
ORnpm install -g @angular/cli
inside the terminal to install Angular globally (-g), specicially version 15.1.6. - Firebase JavaScript SDK & AngularFire library: Type
npm install firebase @angular/fire
inside the terminal to install the necessary packages and library for Angular/Firebase. - Clone Repository: Clone the source code by either directly downloading the files, or via Git CLI
git clone [email protected]:Team-Chem/LCCC.git
. - Firebase: Requirements firestore folder in this path
node_modules/@angular/fire/compat/firestore
with this folder here.- Download the firestore.zip file and this will contain the configured dependencies for the application. You will need to replace the files in the
firestore
folder with the ones in the zip file.
- Download the firestore.zip file and this will contain the configured dependencies for the application. You will need to replace the files in the
- Change directory: Open your termianl and CD into this directroy
LCCC-main
.- Once within this directory, run this command to install necessary packages
npm install
.
- Once within this directory, run this command to install necessary packages
- Start Server: In your terminal, type
ng serve
which will start the application, then you can visit the application in the browser at this URLhttp://localhost:4200/
.
This sections covers known and potential issues when setting up your environment.
Check that your version of the software you installed are capatible with the version the application uses.
- Node.js. incapabile version: Generally, the version of node.js. does not matter, however, if it does in the future, the working version as of 2023/10/31, is v19.8.1. Be aware, that odd numbers of node.js are not official supported by Angular.
- Deplying to hosting service: Since this application was origionally expected to be hosted on GoDaddy.com. You can try following this guide provided by medium.com here
- Firebase: Any issues revolving around firebase, such as, if you read issues with firebase in the command line or when you try to boot the angular server, be sure to replace your firebase folder in your directory, as the one stated in the prerequisites is necessary for the