Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kimamov authored Jan 16, 2021
1 parent c03523b commit 76fc17c
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ Currently using exp rfid https://github.com/esprfid/esp-rfid for the hardware bu


# usage
git clone https://github.com/kantimam/mqtt-door-access-control.git
start the MQTT broker of your choice (using Mosquitto so far) make sure it runs on port 1883
adjust ormconfig.json or create a database / user with the matching values
npm install
npm start
- git clone https://github.com/kantimam/mqtt-door-access-control.git
- start the MQTT broker of your choice (using Mosquitto so far) make sure it runs on port 1883
- use the ormconfig and .env template files to create your own ormconfig and .env files
- adjust ormconfig.json or create a database / user with the matching values
- put your secrets into .env
- install the servers dependencies with "npm install"
- change to client directory and install its dependencies with "npm install"
- if you want to deploy build the client with "npm run build"
- return to the server directory maybe by using "cd .."
- either start the the server with "npm start" or start the server and the client with "npm run dev"



0 comments on commit 76fc17c

Please sign in to comment.