ethan-zhang / mownfish Goto Github PK
View Code? Open in Web Editor NEWmownfish is a productional skeleton and generator for tornado
License: Apache License 2.0
mownfish is a productional skeleton and generator for tornado
License: Apache License 2.0
Hi, Ethan
I use mownfish to create a tornado project, when i exec following cmd
python sugest/cmd/mownfishd.py --port=8086
there an error happened as below
Traceback (most recent call last):
File "sugest/cmd/mownfishd.py", line 35, in
main()
File "sugest/cmd/mownfishd.py", line 32, in main
server.start()
File "/home/guokr/platform/test/sugest/sugest/http_server.py", line 91, in start
and value.value() is None:
AttributeError: 'str' object has no attribute 'value'
I don`t know if i use fishing cmd correctly or something else, eagerly awaiting your reply
I run tornado successfully, but when i visit root path of local host
I get following response
Traceback (most recent call last):
File "/home/guokr/.virtualenvs/test/local/lib/python2.7/site-packages/tornado/web.py", line 1422, in _execute
result = self.prepare()
File "/home/guokr/.virtualenvs/test/local/lib/python2.7/site-packages/tornado/web.py", line 2149, in prepare
raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found
it`s ok because there is no handler mapped with root path, I think add a default index page will be better.
ROUTES = { 'first_proj':
[(r'/statinfo', statinfo_handler.StatInfoHandler),
],
}
All code has been pep8 cleaned.
@jizhouli
@alejandrobernardis @bufferx @ljdawn @toolatetosleep @wuchangqi @wuhongjun @xoxoj
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.