ziotom78 / instrumentdb

Implementation of a RESTful instrument database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forks Stargazers Issues GPL3 License Documentation Status


Logo

InstrumentDB

A RESTful database to manage specifications of complex scientific instruments
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Product Name Screen Shot

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

You must have Python 3; it is advised to create a virtual environment before installing InstrumentDB.

Installation

  1. Clone the repo:

    git clone https://github.com/ziotom78/instrumentdb.git && cd instrumentdb
  2. Install all the dependencies using poetry

    pip install -r requirements.txt
  3. Create a custom configuration file and customize it. Be sure to put some random password in SECRET_KEY!

    cp .env.example .env && vim .env
  4. Create the database

    ./manage.py migrate
  5. Create a superuser

    ./manage.py createsuperuser
  6. Fire up the web server

    ./manage.py runserver
  7. Connect to http://127.0.0.1:8000/ and enjoy!

Developer installation

Developers willing to hack instrumentdb should install Poetry. I developed InstrumentDB under Linux Manjaro and Linux Mint 20.1, but it should be usable on other platforms too (Windows, Mac OS X, FreeBSD, …).

To install Poetry, see here.

  1. Clone the repo:

    git clone https://github.com/ziotom78/instrumentdb.git && cd instrumentdb
  2. Install all the dependencies using poetry

    poetry install
  3. Create a custom configuration file and customize it. Be sure to put some random password in SECRET_KEY!

    cp .env.example .env && vim .env
  4. Create the database

    poetry run manage.py migrate
  5. Create a superuser

    poetry run manage.py createsuperuser
  6. Fire up the web server

    poetry run manage.py runserver
  7. Connect to http://127.0.0.1:8000/ and enjoy!

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

For more examples, please refer to the documentation.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPL3 License. See LICENSE.md for more information.

Contact

Maurizio Tomasi - @MaurizioTomasi2 - ziotom78{at}gmail.com

Project Link: https://github.com/ziotom78/instrumentdb

Acknowledgements

  • The LiteBIRD Instrument Model team for many ideas: Sophie Henrot-Versillé, Hirokazu Ishino, Tomotake Matsumura.

  • The ASI (Agenzia Spaziale Italiana) SSDC Team: Fabrizio Fabri, Antonio Guerra, Gemma Luzzi, Daniele Navarra, Gianluca Polenta

About

Implementation of a RESTful instrument database

License:GNU General Public License v3.0


Languages

Language:Python 92.2%Language:HTML 7.7%Language:Shell 0.1%