Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 475 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 475 Bytes

Door-RFID

用 Python RFID 一下

Version

Python 3

Instructions

# 1. Setup Virtual Environment
$ virtualenv -p python3 env

# 2. Activate Virtual Environment
$ source env/bin/activate

# 3. Install Project Packages
$ pip install -r requirements.txt

# 4. Start
$ python index.py

# 5. Deactitvate
$ deactivate

Note

  • pip save packages
$ pip freeze > requirements.txt
  • Run with PM2
$ sudo pm2 start index.py --interpreter=python3