I am deploying a Django project in cPanel, but not showing a terminal option even in advance section.
how can I find it?
Related
I found the answer here
PyCharm Django previous project`s server still runs after opening and running another project
which works for me but I want to find a permanent solution. Can anyone suggest a solution?
We have a requirement to install Sitecore packages programmatically from a custom admin page. The package installation is working but once the package is installed I wanted to restart the Sitecore server from code.
Sitecore.Install.Installer installer = new Sitecore.Install.Installer();
I tried with installer.ExecutePostStep but not sure what action I need to provide to this function.
If anyone has done it before Please help .
Basically I wanted to execute the functionality from code what the two below check boxes are doing when we do manual installation.
The easiest thing will be to restart the Sitecore's application pool by a Restart-Application PowerShell command.
Find more details here.
I am trying to deploy a django application on cpanel. I cloned my github repository and all dependencies have been installed and everything is complete but when I try to open the website it gives me this page... What do I need to do in order to fix this? I don't have any knowledge about these file permissions and am just looking to host a small project.
I came across the same issue and managed to fix it by changing the parent directories permission. In my case, it was Repositories > MyProjectName. Also, make sure you adjust the permission settings to the passenger_wsgi.py file.
Best of luck, and hope this helps.
I’m trying to install Bitnami Redmine on my computer but the following worning appears:
Problem running post-install step. installationmay not comrrectly
Error running c:\ noysarah/apps/redmine\scripts\redmineini.bet : rake aborted!
HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point a directory
If I’m pressing the ‘X’ button the downloads continues. But then when the browser open I’m getting the following message:
“The requested URL was not found on this server”
If someone can help it will be amazing. Thank you.
Bitnami developer here,
Could you please run the following command in a prompt?
set HOME
If you don't have set HOMEDRIVE or HOMEPATH, you have to set them before running the installer. For example, you could set them like this (if your user is Administrator):
HOMEDRIVE=C:
HOMEPATH=\Users\Administrator
I hope it helps.
I have installed Python 27 successfully.
And with respect to project requirement i have also installed following packages.
Django==1.4.3
MySQL-python==1.2.4
PIL==1.1.7
South==0.7.6
argparse==1.2.1
distribute==0.6.28
django-appconf==0.6
django-imagekit==2.0.2
pytz==2012j
six==1.2.0
wsgiref==0.1.2
Now the problem is, i dont know how to make this run, or visible in python.
Can anybody please help me, to get out from this.
I have to change few webservices and also want to add some functionality.
This webservices are attached with wordpress website.
So, please help me to configure whole this project on local (Windows PC).
Thanks in advance
Go for the Touch Command of Django for this issue,
I think it will make helpful to you.
Thanks!
i have solve this, find below instruction for users who have same queries:
Restarting the Spawned Server
If you change any Python code on your site, you’ll need to tell FastCGI the code has changed. But there’s no need to restart Apache in this case. Rather, just reupload mysite.fcgi – or edit the file – so that the timestamp on the file changes. When Apache sees the file has been updated, it will restart your Django application for you.
If you have access to a command shell on a Unix system, you can accomplish this easily by using the touch command:
touch mysite.fcgi
For more information:
http://www.djangobook.com/en/2.0/chapter12.html
Thanks