jstacy Posted December 5, 2019 Posted December 5, 2019 I've been running on Docker and all my files just go in /code Where do I put my files on this server? www? cgi-bin? How do I navigate to a Django site which is theoretically running on Ricky to test it once I've dropped my files in place? This is all extremely difficult with no access to command line interface. It's all too gui-clicky-clicky for someone who operates on the command line primarily. I've tried dropping the folder which houses all my code into various folders in my /home directory, but it always errors out. Once I actually manage to get all my files in there, how do I actually start the django application with no access to the command line? Does it just automatically detect that I have Django code in there and run? What port does it serve on? What IP address? How do I see whether or not the application is actually running?
Sn1F3rt Posted December 5, 2019 Posted December 5, 2019 Refer to this for further information: https://wiki.helionet.org/Django 1
jstacy Posted December 6, 2019 Author Posted December 6, 2019 That shows you how to do command line management. CLI is unavailable and so this isn't any help at all.
Guest pooks Posted December 6, 2019 Posted December 6, 2019 We don't offer shell (command line) access to our users. Many Django tutorials and installation instructions assume that users have command line access, which may make working with Python & Django more difficult. Most people tend to develop on their home computer and then upload to their web server, which almost negates the need for this feature. This means the command line available on your computer. Not on the Cpanel interface.
Krydos Posted December 7, 2019 Posted December 7, 2019 Django is fully functional without the command line. The wiki article he linked doesn't require any shell access on the server. You basically just copy/paste the code in and it will work. Django on our servers run through wsgi which means you don't need to worry about ports or starting and stopping processes. It starts the process automatically when someone requests the page. Also keep in mind that since you picked Ricky Django runs on python 2.7. If you'd rather use Django on python 3.7 you need to pick Johnny or Tommy. Honestly though, I think you would be better off with a VPS https://www.heliohost.org/vps/ since you're already comfortable with the command line.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now