Closed KeithEmanuel closed 10 years ago
What is the slug you hit when you see "screen with the floating dots and line" (the 404 page)? If it's not /facewall
, you'll need to change that in two places: config.cofffee, and application.coffee.
Once you're sure that's correct, all you need to do is serve up the /public
output directory of the brunch compiler with a static web server. (See [http://brunch.io/]("Deploying" section of Brunch docs) for more information.)
Python is not my area of expertise, but I'm guessing something like SimpleHTTPServer
will do the trick.
Thanks! That was the problem. I forgot the change in application.coffee. Everything is working correctly now.
Great! Glad we were able to help.
Not an issue, but a question.
I have no other coffeescript or brunch experience, so I haven't been able to figure this out myself. I configured facewall to dynamically load content via a URL returning JSON, The host of that JSON is a python server. Everything worked fine when I was locally hosting two servers (a web.py server and facewall's brunch server), with the exception of the cross-domain issues from the servers being on different ports. To get rid of that issue and not need two services, I wanted to try to use the web.py server alone.
I tried using brunch's build command and hosting the output on the web.py server, but whenever the URL is navigated to the JSON loads but the facewall app remains on the screen with the floating dots and line. Does the facewall app need to be hosted on the brunch server in order to load dynamic content?