Fixing last mile distribution in developing world solar products
Made at Solar Hackathon 2013 at SFunCube
- create a mysql database "solar"
- mysql> CREATE DATABASE solar;
- mysql> CREATE USER 'solaruser'@'localhost' IDENTIFIED BY 'solarpassword';
- mysql> GRANT ALL PRIVILEGES ON
solar
. * TO 'solaruser'@'localhost'; - run "python server.py" in command line
- open browser and go to http://localhost:8888/
- go to http://localhost:8888/reset/ to reset database
- go to http://localhost:8888/product/ and login as "j" and "p" for password
- /product/ shows typical inventory