A tool used to collect spatial annotations in interviews.
Open your terminal and clone the repo: git clone https://github.com/UMassCDS/buzzards-bay-spatial-tool.git
, or download as a zip
To get started you just have install node.js
Go to: https://nodejs.org/en and install node.js, choose your configurations if you are prompted to do so.
After installation check if it's installed correctly.
Run node --version
in a new terminal window, if you are seeing a version number it is installed correctly.
Carry on with the set up of the application.
Run npm i
in both frontend and backend directories.
- Open two terminals
- Navigate to backend in one terminal
npm run start
- It will tell you it is running on
localhost:5174
- Navigate to frontend in the other terminal
npm run dev
- It will tell you it is running on
localhost:5173
- Navigate to that url on your browser and start using. Instructions about the application is found inside the application by clicking on the dock icon.
- Install Docker desktop by downloading the installer from their site
- navigate to root of this project
- Run
docker compose build
- Run
docker compose up
- Navigate to
localhost
- Install Docker desktop
- Run
docker compose build
- Create your account with a Cloud service provider, like Azure Next steps might vary based on your service provider, but here are some general steps, Azure compliant:
- Create a container registry
- Tag and upload your image to the registry
- Create application service plan
- Create two application services, one for the frontend and one for the backend
- While creating services, set the input to use the image from the registry
Note: You probably have to update the .env to point to the correct backend url. To redeploy, you have to update the image in the registry and restart the services.
This was a very high level overview of the process, and you should refer to the documentation of your service provider for more detailed instructions, for bb interview tool refer to provided documentation on drive.