After installing PostgreSQL I try to access the localhost and I get a message that the page does not exist

0

I am starting a web page project which I will do with Django , to make it more complete I will use PostgreSQL to manage the database.

I already have installed the python with which I also have a good experience and I also have installed Django , however the installation and configuration of PostgreSQL I have had a hard time or I need to configure something because after installing the PostgreSQL I try to access localhost 127.0.0.1:8000 through the Google Chrome browser and I get a message of not finding this address.

Please suggest me solutions or URLs that can offer me more information. I do not know if this is related to my problem but I also tell you that it does not have any test server installed on my computer, besides the computer I am working on is a laptop and I am connected to a local wireless network (my home) .

    
asked by Angel Vargas 06.03.2017 в 19:00
source

1 answer

0

You have to start the Django server. First check that you have Django installed, with the following command:

$ python -m django --version

You can start a new project called mysite with the following command line (in Ubuntu):

$ django-admin startproject mysite

To run the server, run the following command:

$ python manage.py runserver

I hope you find it useful!

Successes!

    
answered by 06.03.2017 / 19:05
source