Revision history [back]
Deployment for dummies: how to configure webserver?
I am completely new to Django and PostgreSQL. I was following the documentation step-by-step (I use Ubuntu 12.04), and now my AskBot installation runs OK on localhost.
Now I am stuck with deployment: http://askbot.org/doc/deployment.html
I completed the first two steps, with static files collections and setting up permissions. What I am going to do next? (for Apache/mod_wsgi)
Using PHP/MySQL engines such as Wordpress or phpBB, I would normally copy my folder to the server and then run the website; it would prompt me for the remaining steps to create the database and complete the installation.
Here I see that the next step is "Configure webserver". And I have no idea how I can possibly do this. What files should I edit or create?
Deployment attempt 1. I tried just to copy my folder from localhost to my hosting server by FTP, but it seemingly doesn't work (I get 500 Internal Server error) - anyway, I don't see how it would, because the database was not migrated.
Deployment attempt 2. I connected to the server by ssh, installed askbot in a virtual environment, and completed the installation steps right there, on my hosting server. It runs GNU Linux and I have a command prompt access to it.
After I started the Django development server, I couldn't figure out how to access it. Apparently, no browser was installed on my hosting server. Opening the site myproject.myhosting.com didn't work either.
I decided to continue anyway and got stuck exactly at the same place: "Configure webserver". My guess was that I needed to create a bash file with these settings and try to run it. It didn't work: I had no privileges to run the bash file.
So my question is: - Where I can set server configurations? What files should I edit or create?
Deployment for dummies: how to configure webserver?
I am completely new to Django and PostgreSQL. I was following the documentation step-by-step (I use Ubuntu 12.04), and now my AskBot installation runs OK on localhost.
Now I am stuck with deployment: http://askbot.org/doc/deployment.html
I completed the first two steps, with static files collections and setting up permissions. What I am going to do next? (for Apache/mod_wsgi)
Using PHP/MySQL engines such as Wordpress or phpBB, I would normally copy my folder to the server and then run the website; it would prompt me for the remaining steps to create the database and complete the installation.
Here I see that the next step is "Configure webserver". And I have no idea how I can possibly do this. What files should I edit or create?
Deployment attempt 1. I tried just to copy my folder from localhost to my hosting server by FTP, but it seemingly doesn't work (I get 500 Internal Server error) - anyway, I don't see how it would, because the database was not migrated.
Deployment attempt 2. I connected to the server by ssh, installed askbot in a virtual environment, and completed the installation steps right there, on my hosting server. It runs GNU Linux and I have a command prompt access to it.
After I started the Django development server, the webserver, I couldn't figure out how to access it. Apparently, no browser was installed on my hosting server. Opening the site myproject.myhosting.com didn't work either.
I decided to continue anyway and got stuck exactly at the same place: "Configure webserver". My guess was that I needed to create a bash file with these settings and try to run it. It didn't work: I had no privileges to run the bash file.
So my question is: - Where I can set server configurations? What files should I edit or create?
Deployment for dummies: how to configure webserver?
I am completely new to Django and PostgreSQL. I was following the documentation step-by-step (I use Ubuntu 12.04), and now my AskBot installation runs OK on localhost.
Now I am stuck with deployment: http://askbot.org/doc/deployment.html
I completed the first two steps, with static files collections and setting up permissions. What I am going to do next? (for Apache/mod_wsgi)
Using PHP/MySQL engines such as Wordpress or phpBB, I would normally copy my folder to the server and then run the website; it would prompt me for the remaining steps to create the database and complete the installation.
Here I see that the next step is "Configure webserver". And I webserver", and I probably don't have no idea how these permissions from my hoster. When I access my server on FTP, I can possibly do this. What files should I edit or create?
Deployment attempt 1. see only my own folder. When using SSH, I have an access for browsing directories beyond my own. Not sure about writing permissions.
I tried just to copy my folder from localhost to my hosting server by FTP, folder, but it seemingly doesn't work (I get 500 Internal Server error) - anyway, I don't see how it would, because the database was not migrated.
Any ideas what should I do next?
Deployment attempt 2.Updated. I connected to the server by ssh, installed askbot in a virtual environment, and completed installation steps right there, on my hosting server. It runs GNU Linux and I have a command prompt access to it.
After I started the webserver, I couldn't figure out how to access it. Apparently, no browser was installed on my hosting server. Opening the site myproject.myhosting.com didn't work either.
I decided to continue anyway and got stuck exactly at the same place: "Configure webserver". My guess was that I needed to create a bash file with these settings and try to run it. It didn't work: I had no privileges to run the bash file.
So my question is: - questions are the following:
- Where I can
setfind server configurations?What files should I edit or create? - Do I have to migrate the database manually?
Deployment for dummies: how to configure webserver?dummies
I am completely new to Django and PostgreSQL. I was following the documentation step-by-step (I use Ubuntu 12.04), and now my AskBot installation runs OK on localhost.
Now I am stuck with deployment: http://askbot.org/doc/deployment.html
I completed the first two steps, with static files collections and setting up permissions. What I am going to do next? (for Apache/mod_wsgi)
Using PHP/MySQL engines such as Wordpress or phpBB, I would normally copy my folder to the server and then run the website; it would prompt me for the remaining steps to create the database and complete the installation.
Here I see that the next step is "Configure webserver", and I probably don't have these permissions from my hoster. When I access my server on FTP, I can see only my own folder. When using SSH, I haven't tried SSH yet, though, as I have an access for browsing directories beyond my own. Not sure about writing permissions.no experience with it.
I tried just to copy my folder, but it seemingly doesn't work (I get 500 Internal Server error) - anyway, I don't see how it would, because the database was not migrated.
Any ideas what should I do next?
Updated. My questions are the following:
- Where I can find server configurations?
- Do I have to migrate the database manually?
Deployment for dummies
I am completely new to Django and PostgreSQL. I was following the documentation step-by-step (I use Ubuntu 12.04), and now my AskBot installation runs OK on localhost.
Now I am stuck with deployment: http://askbot.org/doc/deployment.html
I completed the first two steps, with static files collections and setting up permissions. What I am going to do next? (for Apache/mod_wsgi)
Using PHP/MySQL engines such as Wordpress or phpBB, I would normally copy my folder to the server and then run the website; it would prompt me for the remaining steps to create the database and complete the installation.
Here I see that the next step is "Configure webserver", and I probably don't have these permissions from my hoster. When I access my server on FTP, I can see only my own folder. I haven't tried SSH yet, though, as I have no experience with it.
I tried just to copy my folder, but it seemingly doesn't work (I get 500 Internal Server error) - anyway, I don't see how it would, because the database was not migrated.
Any ideas what should I do next?
Deployment for dummies
I am completely new to Django and PostgreSQL. I was following the
documentation step-by-step (I use Ubuntu 12.04), and now step-by-step, and my AskBot installation runs OK on localhost. localhost.
Now I am stuck with deployment: http://askbot.org/doc/deployment.html
I completed the first two steps, with static files collections and setting up permissions. What I am going to do next? (for Apache/mod_wsgi)
Using PHP/MySQL engines such as Wordpress or phpBB, I would normally copy my folder to the server and then run the website; it would prompt me for the remaining steps to create the database and complete the installation.
Here I see that the next step is "Configure webserver", and I probably don't have these permissions from my hoster. When I access my server on FTP, I can see only my own folder. I haven't tried SSH yet, though, as I have no experience with it.
I tried just to copy my folder, but it seemingly doesn't work (I get 500 Internal Server error) - anyway, I don't see how it would, because the database was not migrated.
Any ideas what should I do next?