GithubHelp home page GithubHelp logo

emce / charging_cost Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 720 KB

Django application to show charging costs based on set tariff and data from Zaptec API

Dockerfile 1.17% Python 79.31% Shell 0.27% HTML 19.25%

charging_cost's Introduction

Zaptec charging cost

alt text

Django application to show charging costs based on set tariff and data from Zaptec API

Instalation

In order to install application locally, run:

git clone https://github.com/emce/charging_cost

cd charging_cost

pip3 install -r requirements.txt

python3 manage.py makemigrations

python3 manage.py migrate

python3 manage.py runserver

... and open: http://localhost:8000

Docker

Application can be deployed and run as docker image with compose plugin:

version: '3'
services:
  web:
    container_name: charging_cost
    build:
      context: .
      dockerfile: Dockerfile
    env_file:
      - .env
    ports:
      - "9080:9080"
    volumes:
      - ./:/code
    command: sh ./entrypoint.sh

  charging_nginx:
    build: ./nginx
    ports:
      - "9081:9081"
    restart: always
    volumes:
      - ./:/code
    depends_on:
      - web

volumes:
  static:

charging_cost's People

Contributors

emce avatar

Watchers

 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.