Skip to content

userapp-io/tempbox-python-angularjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Tempbox / Python

Temporary file storage demo app powered by UserApp, Python (Tornado) and AngularJS.

Launching the demo app

  1. Download and unzip the code
$ wget -qO- -O ua-tmp.zip https://github.com/userapp-io/tempbox-python-angularjs/archive/master.zip && unzip ua-tmp.zip && rm ua-tmp.zip
  1. Update the configuration with your app id
$ cd tempbox-python-angularjs-master/src/
$ vim config.py

Edit the line where it says APP_ID = 'YOUR_APP_ID' with your app id.

$ cd public_www/js/
$ vim app.js

Edit the line where it says user.init({ appId: 'YOUR_APP_ID' }); with your app id.

If you don't know your app id, click here to locate it.

  1. Install library dependencies
$ pip install zipfile
$ pip install tornado
$ pip install userapp --pre
$ pip install userapp.tornado --pre
  1. Run the server
$ chmod +x server.py
$ ./server.py
  1. Visit the address mentioned in the console

If you haven't changed the port it should be running on http://localhost:31415/

License

MIT

About

Tempbox. A demo app showing UserApp, Python and AngularJS running together.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •