Comments (4)
After many searches I found what I wanted in this blog post : http://swampdragon.net/blog/deploying-swampdragon/
You should really integrate this into the documentation 😉.
Edit : Maybe that post is outdated, I'm still having some issues... Reopening this ticket, sorry about that.
from swampdragon.
With some changes I succedeed in talking to the server.
Now I have an error :
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1332, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/usr/local/lib/python2.7/dist-packages/swampdragon/settings_provider.py", line 14, in get
'host': self.request.headers['Host'],
File "/usr/local/lib/python2.7/dist-packages/tornado/httputil.py", line 209, in __getitem__
return dict.__getitem__(self, _normalized_headers[name])
KeyError: 'Host'
from swampdragon.
I've made a mistake in the nginx config file >_<. Sorry again and keep the awesome work.
from swampdragon.
I might make the deployment process into a tutorial rather than a blog post.
Deployment depends a lot on the individual. Personally I like uWSGI and NGINX, however some people prefer gunicorn instead, and I don't want to give the impression that people have to use uWSGI.
I will release an update soon, which will get rid of localhost:9999/settings.js
in favour of using a template tag instead, this way it won't be necessary to go through the process of creating a custom context processor for different environments as well (it will all be managed through your settings.py).
Happy to see that you solved your issue
from swampdragon.
Related Issues (20)
- how to implement swampdragon properly
- ERROR:tornado.general:WebSocket ... DoesNotExist: TodoList matching query does not exist.
- Settings.js HOT 3
- Synchronize Swampdragon in django cluster
- [frontend] How to handle arriving messages published to concrete channel HOT 6
- 0.4.2.2 issues w/ tutorial psutil HOT 7
- Todo tutorial - route not found HOT 2
- Idea: add template tag to make template parts update in realtime HOT 7
- has_related_value HOT 1
- Release version does not work with Django1.9 HOT 3
- settings.js not found HOT 2
- unit test does not support for auth
- How to avoid 'false' SwampDragon messages
- takeover
- Site can't be reached!? HOT 6
- Connection Swampdragon to a Redis Socket HOT 1
- About swampdragon.net HOT 1
- swampdragon.net site is down HOT 1
- I will to take this site maintanance and also to update it
- Private chat implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swampdragon.