-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
30 lines (23 loc) · 1.26 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
I wanted to work through what I think is a 'fast' workflow with Sencha and Flask
My goal is to accomodate the idiosyncrasies of Sencha Architect so that I can
adopt it as a tool for rapidly prototype interfaces.
Turns out there is a bit of a learning curve, but I'm sure I'll get the hang of
it and be able to turn small projects faster. This one is significantly under
featured, however I thought it was a good example to start with.
Felix Hummel had basically the same work here:
https://github.com/felixhummel/flask-extjs-file-upload-example
Felix does a couple things that I couldn't take for granted on this excercise:
- Hand builds the extjs code (This is generated by Sencha Architect)
- Hand builds the templating (This is generated by Sencha Architect)
- Returns text as a response (I wanted to use flask's built in jsonify)
I sounded like a dick above, Thanks Felix for providing a good reference to kick
this project off.
To get this steaming pile of code running on your machine do this:
$ virtualenv flask-extjs-uploader-env
$ source flask-extjs-uploader/bin/activate
$ git clone git://github.com/storrgie/flask-extjs-uploader.git
$ cd flask-extjs-uploader
$ mkdir uploads
$ pip install -r requirements.txt
$ python app.py
Then hit that thing with your browser