A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/NASA-AMMOS/MMGIS below:

GitHub - NASA-AMMOS/MMGIS: Multi-Mission Geographical Information System - Web-based Mapping and Spatial Data Infrastructure for Planetary Science Operations

MMGIS (Multi-Mission Geographic Information System)
Spatial Data Infrastructure for Planetary Missions

/ will always refer to the repo's root directory

  1. Clone the repo
    git clone https://github.com/NASA-AMMOS/MMGIS

  2. From within /
    npm install

To build the Docker image, run: docker build -t <image tag> .

This repo contains a /docker-compose.sample.yml file that defines a service for the application and a PostgreSQL database with PostGIS installed

Run: docker-compose up -d

  1. Setup the admin account:

  2. Now sign in with you Administrator credentials

  3. Click NEW MISSION
    Enter a new mission name and click MAKE MISSION
    Optional: (Use the mission name "Test" (case-sensitive) to make the sample mission)

Navigate to http://localhost:8888.

See the configuration documentation for more information on how to use the configure page to customize and add data to MMGIS.

Installing Without Docker
  1. Install the latest version of Node.js v20.11.1+.

  2. Install PostgreSQL v16+. Detailed install instructions for all platforms.

  3. Install PostGIS 3+. From the above install, you can use the 'Application Stack Builder' to install PostGIS or the default PostGIS install instructions for all platforms.

  4. Make a new PostgreSQL database and remember the user, password and database name. Use 'psql' or the 'SQL Shell' to log into Postgres. It will prompt you for the username and password made during the install.

  1. Install micromamba 2+
    1. In powershell run:
      Invoke-Expression ((Invoke-WebRequest -Uri https://micro.mamba.pm/install.ps1).Content)
      
    2. Initialize the shell with:
      micromamba shell init --shell cmd.exe --root-prefix=your\path\to\mamba
      
    3. In a command window in the MMGIS root directory run:
      micromamba env create -y --name mmgis --file=python-environment.yml
      
      • If you encounter an error like: ..\mamba\condabin\micromamba"' is not recognized as an internal or external command, operable program or batch file., then copy the mamba.bat file in that directory to micromamba.bat
    4. Confirm the installation and initialization went well with:
      micromamba run -n mmgis gdalinfo --version
      
    5. Activate the environment before running npm start
      micromamba activate mmgis
      
    Legacy (without micromamba):

/ will always refer to the repo's root directory

  1. Clone the repo
    git clone https://github.com/NASA-AMMOS/MMGIS

  2. From within /
    npm install

  3. Copy /sample.env to .env
    cp sample.env .env

  4. Open .env and update the following:

    DB_NAME=<name>
    DB_USER=<user>
    DB_PASS=<password>
    

    From the install example:

    DB_NAME=mmgis
    DB_USER=postgres
    DB_PASS=<password>
    
  5. Run npm run build to bundle up the code (first time or if there are any changes)

  6. Go into /configure and run npm install followed by npm run build to build the configuration site.

  7. Go back to the root / directory

  8. Run micromamba activate mmgis or python -m pip install -r python-requirements.txt (if not using python environments)

  9. If using adjacent-servers (titiler, stac, ...) make .env files from the samples within the /adjacent-servers/{servers}/ directory.

  10. Run npm run start:prod

  11. Setup the admin account:

  12. Now sign in with you Administrator credentials

  13. Click NEW MISSION
    Enter a new mission name and click MAKE MISSION
    (Use the mission name "Test" (case-sensitive) to make the sample mission)

Go to http://localhost:8888 to see the Test mission

Note: The development environment (npm start) and only the development environment uses two port numbers 8888 and 8889 (by default) — the latter for the main site and the former for the ancillary pages (such as /configure and /docs)

  1. Run npm run build to bundle up the code (first time or if there are any changes)

  2. Run micromamba activate mmgis(if applicable)

  3. Run npm run start:prod

  1. Run micromamba activate mmgis(if applicable)

  2. Run npm start

  1. Run npm run test
    Note: Jest has just been added in v2.0.0 and test suites are still very limited. There is strong interest to move to Playwright.

Additionally, documentation pages are served at http://localhost:8888/docs or immediately within the docs/pages/markdowns directory.

Check out our contributing guide here.

Check out our code of conduct here.

Copyright (c) 2024, California Institute of Technology ("Caltech"). U.S. Government sponsorship acknowledged.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Dr. Fred J. Calef III - fred.calef@jpl.nasa.gov
Tariq K. Soliman - tariq.k.soliman@jpl.nasa.gov

Or join us on Slack


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4