nitrousio

Custom base_site.html not working in Django

旧城冷巷雨未停 提交于 2019-12-05 08:18:33
I am using Nitrous for playing with the Django framework. In tutorial 2 is shown how to change the base_site.html template. I've added in the TEMPLATE_DIRS = ( ) a new line: 'home/action/workspace/mysite/templates', And in base_site.html I changed the site name title of Django Administration into Administration: {% trans 'Administration' %} But I still see no changes on the website. I've tried different TEMPLATE_DIRS like: '~/workspace/mysite/templates', 'home/action/workspace/mysite/', 'home/action/workspace/mysite/templates/', And restarting the server. But I am doing something wrong. Note

How do I setup SearchKick/ElasticSearch on the NEW Nitrous.io IDE?

我的梦境 提交于 2019-12-04 13:21:54
问题 I am following the McKenzie Childs tutorial on making a "Movie Review" app on Ruby on Rails and he is using the searchkick gem. I am doing everything through the new Nitrous platform and everything is confusing. I was running this command to: rake searchkick:reindex CLASS=Movie and got the following error in the shell: rake aborted! Faraday::ConnectionFailed: Connection refused - connect(2) for "localhost"port 9200 /home/nitrous/code/12_in_12/movie_review/.bundle/gems/faraday-0.9.1/lib

Copy pasting does not work in nitrous webIDE?

只愿长相守 提交于 2019-12-03 22:51:47
I cannot paste code into the webIDE console. copy pasting works all around the IDE except the console. Is there a way to fix this? please help, its so annoying! If you're on Windows you'll need to hit Control + Shift + V to paste in the console on the Nitrous.IO Web IDE. The added support was mentioned on their changelog . In a nutshell: cmd+c and cmd+v support for copy and paste in mac ctrl+shift+v support to paste in chrome, paste using menu bar in firefox (Edit => Paste) There is no Edit -> Paste in Firefox 35 on Windows 8.1 in the Web IDE, and, as always, control-V and control-shift-V do

How do I setup SearchKick/ElasticSearch on the NEW Nitrous.io IDE?

ぃ、小莉子 提交于 2019-12-03 08:26:54
I am following the McKenzie Childs tutorial on making a "Movie Review" app on Ruby on Rails and he is using the searchkick gem. I am doing everything through the new Nitrous platform and everything is confusing. I was running this command to: rake searchkick:reindex CLASS=Movie and got the following error in the shell: rake aborted! Faraday::ConnectionFailed: Connection refused - connect(2) for "localhost"port 9200 /home/nitrous/code/12_in_12/movie_review/.bundle/gems/faraday-0.9.1/lib/faraday/adapter/net_http.rb:80:in `perform_request' /home/nitrous/code/12_in_12/movie_review/.bundle/gems

Installing python packages in nitrousio

送分小仙女□ 提交于 2019-12-03 07:44:10
I've just started trying to use Nitrous.io. I've made a box with python, and am trying to use pip to install a python package called praw. It downloads all of the information fine, but on running the install script, I get an error stating that it could not create a file due to permission restrictions in the /usr directory. Is there any way to get around this as I need the package for my application to work properly. You could try pip install --user praw https://pip.pypa.io/en/latest/user_guide.html#user-installs 来源: https://stackoverflow.com/questions/17992580/installing-python-packages-in