Unverified Commit 29153bce authored by zak52's avatar zak52 Committed by GitHub
Browse files

Merge pull request #3 from zak52/testing_branch

Testing branch_Merges
parents 1cfe63ee d9a220c0
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

app/src/assets/img/ImageIcon.png

deleted100644 → 0
−15.7 KiB
Loading image diff...
+0 −2
Original line number Diff line number Diff line
@@ -49,7 +49,6 @@ export default function App() {
  const [resultsExpandStyle, setResultsExpandStyle] = React.useState(css.stacked);



  const [footprintData, setFootprintData] = React.useState([]);

  const showHideSort = () => {
@@ -82,7 +81,6 @@ export default function App() {
          <ConsoleAppBar target={targetPlanet} bodyChange={handleTargetBodyChange}  />
        </div>
        <MapContainer target={targetPlanet} />
        
        <div id="bottom-bar">
          <QueryConsole />
          <CreditsDisplay />
+0 −3
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ import ConsoleLonLatSelects from "../presentational/ConsoleLonLatSelects.jsx";
import ConsoleCoordinates from "./ConsoleCoordinates.jsx";
import AppBar from "@mui/material/AppBar";
import Divider from "@mui/material/Divider";
import GeoTiffViewer from "../presentational/GeoTiffViewer.jsx";

/**
 * Controls css styling for this component using js to css
@@ -24,8 +23,6 @@ let css = {
 */
export default function ConsoleAppBar(props) {



  return (
    <AppBar
      sx={css.appbar}
Loading