Giter Site home page Giter Site logo

henryjobst / mystrom-django-interface Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maexled/mystrom-django-interface

0.0 0.0 0.0 106 KB

Manage MyStrom devices in easy interfaces. Another applications catches the devices and saves results https://github.com/maexled/mystrom-python

License: MIT License

Python 55.04% HTML 43.51% Dockerfile 0.69% Shell 0.76%

mystrom-django-interface's Introduction

About the Project

The project is designed to manage mystrom devices in an easy interface.

Prerequisites

  • >= python3.8

Installation

  1. Clone the repo
git clone https://github.com/maexled/mystrom-django-interface.git
cd mystrom-django-interface/
  1. Install needed python libraries
pip install -r requirements.txt 

Database migrations

python manage.py makemigrations
python manage.py migrate

Run App

python manage.py runserver

Run with docker

docker run \
   --name mystrom-interface \
   -p 8000:8000 \
   -e DB_NAME=db-name \
   -e DB_USER=username \
   -e DB_PASSWORD=password \
   -e DB_HOST=host \
   -e DB_PORT=port \
   -e SECRET_KEY=secretKey \
   -e ALLOWED_HOSTS=localhost,mysite.com \
   -e CORS_ORIGIN_ALLOW_ALL=False \
   -e CORS_ORIGIN_WHITELIST=http://localhost:8000,http://mysite.com \
   -e TZ=Europe/Berlin \
   ghcr.io/maexled/mystrom-django-interface

Configurations

Important things to know

Database configuraton in pim/settings.py under DATABASES

mystrom-django-interface's People

Contributors

maexled avatar henryjobst avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.