Read more about the project here: http://asd.courses.sutd.edu.sg/dti-teams/locklock/
• Python
• django
• libdw
- Ensure that random and django libraries are installed
- At the file location, create the database by runining
• Terminal commands:
python manage.py makemigrations bike
andpython manage.py migrate
- Start the local server
• Terminal commands:
python mamage.py runserver
Under the directory 'Firebase Code' contains 2 templates: • webapp_firebase1.py: To be used with Django's views. Sends request to lock/unlock. • arduino_firebase.py: To be run on arduino
Fill in your projectID, apikey, and registered user account under the particular project for both files in order to sync up both the webapp and the arduino.
Live Demo: https://youtu.be/qU-qFXi8tp8?t=320
- Create an account
- Login
- Select an availble lot (green)
- Press Lock/Unlock!