Giter Club home page Giter Club logo

example.django22.mysite's Introduction

example.django22.mysite

Mi practicas del tutorial básico Django 2.2.

Instalación

Esta aplicación web de Django necesita una gran cantidad de paquetes adicionales de Python, por favor ejecute el siguiente comando:

$ pip install -r requirements.txt --timeout 120

Construye la BD de la aplicación Web de Django, por favor ejecute el siguiente comando:

$ python manage.py makemigrations
$ python manage.py migrate

Crear usuario administrador de Django

Esta aplicación web de Django necesita crear un usuario administrador de Django, para acceder y administrar la interfaz de administrador, ejecute el siguiente comando:

Sugerencia: para esta instalación local use al usuario como admin y la contraseña como admin.

$ python manage.py createsuperuser
Username (leave blank to use 'user'): admin
Email address: [email protected]
Password: 
Password (again): 
Superuser created successfully.

Ejecute la aplicación web Django

Necesita ejecutar el servidor de Django, ejecute el siguiente comando:

$ python manage.py runserver
  • Abra su navegador web con la siguiente URL: http://0.0.0.0:8000/ y vea la aplicación web Django.

  • Abra su navegador web con la siguiente URL: http://0.0.0.0:8000/admin/ y vea la interfaz de administración de Django, use el usuario admin y contraseña admin.

Referencia

example.django22.mysite's People

Contributors

macagua avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.