hotzenklotz / picobrew-server

A reverse engineered server for the proprietary PicoBrew Zymatic protocol
MIT License
61 stars 16 forks source link

Bundle Server on PyPi #12

Closed hotzenklotz closed 4 years ago

hotzenklotz commented 4 years ago

In order to make installation and maintenance easier, I added PyPi packaging to the project.

Changes:

Installation steps

  1. Install Python 3.7
  2. In a terminal download, install and run the project:
    
    // Download and install
    pip install picobrew_server

// Start the server in production mode on port 80 FLASK_APP=picobrew_server flask run --port 80 --host 0.0.0.0

hotzenklotz commented 4 years ago

@danyou @fotoapparat @TomKriek99 Does anyone mind testing, if you are able to install and run the server using instructions above. Hopefully using Python packages the installation should be more straightforward.

Thanks for the feedback.

danyou commented 4 years ago

I was able to install with Windows, with Administrator cmd. To run I needed to use: set FLASK_APP=picobrew_server flask run --port 80 --host 0.0.0.0 (I did not need the Administrator cmd)

flask.txt

hotzenklotz commented 4 years ago

@danyou Thanks for double-checking. I updated the README accordingly for Windows users.