Closed dspinosa closed 1 year ago
Need Server for FE, BE, and database
CRITFC dev environment is setup on VM and currently running old 2.3 version (FE, BE, database). Ready to install v3.
Innovate local dev environments are ready and working on discovering database changes and fixing bugs and errors preventing the front and backend to communicate seamlessly with the database provided by NPT
We have worked on comparing schemas of CDMS database vs NPT database (provided by Clark) to make our development environment work.
Sekou et al. -
I think we will want to retain the LocationTypeId field in dbo.Locations as this will help us when we consolidate our location records to remove duplicates and re-assign the correct LocationId in its place. I think this will be a necessary step for each tribe to take to remove any existing duplicate locations. For example, we created transects for our raw field data from spawning ground surveys (i.e., location type = Spawning Ground Survey) and we use those same transects in summarized datasets (e.g., location type = Ageing Data). Currently in dbo.Locations we have two location records w/ separate LocationId's to represent this one location. So it's that kind of thing we need to clean up on a case-by-case basis; I think using LocationTypeId will make this task much easier. Thanks
Clark
Clark,
Ok. I will update the script to leave the LocationTypeId in place since it is still helpful.
1- Clone the front and backend repositories from CRITFC GitHub onto the dev machine.
2- Get the backend ready (in Visual Studio)
3- Publish the backend (in Visual Studio)
4- Get the frontend ready (in Visual Studio Code)
src/proxy.conf.json
file
. replace the target
value by the serviceUrl
value from the config.tsnpm install
to install the node_modulesng version
in the terminalng serve
C:\MySite\cdms-fe
. make sure the folder exists and is empty
. run ng build --output-path C:\MySite\cdms-fe
5- In IIS: . restart the server .recycle and restart the application pool for the site .restart the site.
Development environments have been setup at CRITFC and NPT.
This will allow the CRITFC team to test the latest release of CDMS (2.5) from CTUIR. Although there are conflicts in the merge file, many are related to the Angular update on the frontend, and NuGet and .Net packages in the backend.