Commit d7a6ea15 authored by Gavin's avatar Gavin
Browse files

added enviroment.yml and changed readme to reflect using conda to build

parent 74603985
Loading
Loading
Loading
Loading
+29 −2
Original line number Diff line number Diff line
@@ -3,8 +3,35 @@
Repository for the CartoCosmos Capstone Team.

### Building and running on localhost
#
Install conda:
* [Windows](https://docs.conda.io/projects/conda/en/latest/user-guide/install/windows.html) 
* [Mac](https://docs.conda.io/projects/conda/en/latest/user-guide/install/macos.html)
* [Linux](https://docs.conda.io/projects/conda/en/latest/user-guide/install/macos.html)

##### First install dependencies:
Clone repository
```sh
git clone https://github.com/GeoSTAC/CartoCosmos-with-STAC.git
```

Once the repository is cloned ```cd``` in to the ```app folder```
ie :
```sh
cd cloned_location/GeoSTAC/CartoCosmos/app
```
To setup the conda environment run the following command. 

```sh
conda env create -f environment.yml
``` 

Once the conda environment is created run the following command to activate it.

```sh
conda activate GeoSTAC
```

Then to install the project run

```sh
npm install

app/environment.yml

0 → 100644
+7 −0
Original line number Diff line number Diff line
name: GeoSTAC
channels:
  - conda-forge
  - defaults
dependencies:
  - nodejs=16.13.1=hb931c9a_0