Fixing last mile distribution in developing world solar products
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
read_templates
.gitignore
LICENSE
README.md
reads.py
server.py
writes.py

README.md

organize ascentsolar

Fixing last mile distribution in developing world solar products

Made at Solar Hackathon 2013 at SFunCube

  1. create a mysql database "solar"
  2. mysql> CREATE DATABASE solar;
  3. mysql> CREATE USER 'solaruser'@'localhost' IDENTIFIED BY 'solarpassword';
  4. mysql> GRANT ALL PRIVILEGES ON solar . * TO 'solaruser'@'localhost';
  5. run "python server.py" in command line
  6. open browser and go to http://localhost:8888/
  7. go to http://localhost:8888/reset/ to reset database
  8. go to http://localhost:8888/product/ and login as "j" and "p" for password
  9. /product/ shows typical inventory