Giter Club home page Giter Club logo

django-template's Introduction

Django Template

Stars Forks


Tutorial para crear un Proyecto

Tutorial Crear Proyecto Django

  • Crear un entorno virtual
mkdir django-apps
cd django-apps

env

virtualenv env

Activar entorno

. env/bin/activate

Intalar Django(version)

pip install django
django-admin --version

Ajustar la configuración del firewall

sudo ufw allow 8000

Iniciar el proyecto

django-admin startproject testsite
cd testsite
ls
cd testsite/

Crear super usuario

python manage.py createsuperuser
  • Acceder a la app web de Django
cd ~/django-apps/testsite/
python manage.py runserver 0.0.0.0:8000

Django Admin

Install Jet Admin

django-jet

http://your_server_ip:8000/admin/
  • Requirements

[https://pip.pypa.io/en/stable/cli/pip_freeze/]

_ requirements_

pip freeze > requirements.txt
pip install -r requirements.txt

Desactivar

deactivate

Linux Permisos(Ubuntu)

privilegios linux(Ubuntu)

sudo chmod -R 777 file

IP linux(Ubuntu)

ifconfig

(Ubuntu) Postgres Linux

Install Postgres

Install Postgres Actual en Ubuntu

Comando inicializacion

service postgresql start
service postgresql status
service postgresql stop

Create Postgres Password

sudo -u postgres psql
\password
Enter password: ...

Django with Postgres Nginx and Gunicorn

Tutorial

Github Tutorial - Django, Postgres, Nginx y Gunicorn

Python-Django

Tutorial

Github Link - Python-Django

GitHUb Link - PostgreSQL-Training

Cambiar la Configuración Global de Git

Cambiar el nombre de usuario global

git config --global user.name "Nuevo Nombre de Usuario"

Cambiar el correo electrónico global

git config --global user.email "[email protected]"

django-template's People

Contributors

brian-emarquez avatar

Stargazers

 avatar

Watchers

 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.