Jump to content

[Solved] Setting up Django on Ricky


driox

Recommended Posts

Hello!

 

First of all, I really like the webpage and the whole service you are offering. I apologize in advance if this is not a relevant topic to discuss, but I've followed the wiki tutorial, 3 other tutorials on the internet, tried to do it myself and nothing works. Let me explain:

 

1.- I want to create an app that can access the db from anywhere (So I'm thinking that the best solution is to work with Django and httprequests to 'GET' and 'PUT')

 

2.- I thought of this because everytime I tried to enter the remote db I had to add a different host name (Because it automatically changed)

 

3.- I tried everything on a local server and everything works (simply just tiping: 'http://127.0.0.1:8000/home').

 

4.- In the wiki tutorial doens't appear something to change the ip adress so I'm assuming that it keeps being localhost.

 

5.- Every example I tried, doens't give any response back, only the tipical 404. (I assume that might be because I'm making a mistake and pointing to the localhost instead of a specific ip dirrection)

 

I'm really confused because all this. I'm new to Django and servers, so I figured I needed some help with this.

 

My cpanel username is: driox

My domain name is: driox.heliohost.org

I just want help to understand or a simple example that works printing something simple so I can take it from there. Thank you in advance and sorry for the long post!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...