Skip to content

astro-otter/otter-web

Repository files navigation


Otter Web

Otter Web is a web application for the Organization for the Open mulTiwavelength Transient Event Repository (OTTER) project.

This repository contains the front-end code for displaying and interacting with the OTTER database.

Install and run

Clone the repository and install the package using the following:

git clone https://github.com/astro-otter/otter-web.git
cd otter-web
pip install -e .

Clone and install the OTTER API .. code-block:: bash

git clone https://github.com/astro-otter/otter.git cd otter pip install -e .

Running the application requires installing and starting the database and API server. These can both be started with:

Note

You must have docker installed and setup for installing the database and API server!

git clone git@github.com:astro-otter/otterdb.git
cd otterdb
./build.sh

Then start the front-end website server using the following:

cd otter-web
python start.py

Recap of getting up and running

  1. Clone the repository
  2. Install the package
  3. cd otter-web and start the API server: uvicorn otter_web.server.api:app --reload --port=10202
  4. In a new terminal window, cd otter-web/scripts and start the front-end server: python start.py.

About

Front-end for the Otter database

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages