-
Se crea el repositorio git init
-
Se suben los archivos a la zona de preparacion git add Xarchivos
-
Se comenta el porque de esos archivos git commit -m ‘bla bla bla’
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conocer Version de Symfony instalada | |
php app/console --version | |
---- Creando Proyecto Nuevo En Symfony---- | |
Crear una carpeta | |
mkdir CarpetaNueva | |
------------------ Composer ------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
DIRNAME = os.path.abspath(os.path.dirname(__file__)) | |
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
DEBUG = True | |
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.mysql', | |
'NAME': 'nameDB', | |
'USER': 'root', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################### Linux y OS X ######################### | |
====================== Python3 ========================= | |
# Viene por defecto en python3 | |
# Para borrar, solo eliminas la carpeta que crea | |
python3 -m venv MYVENV |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Crear archivo requirements.txt a partir de PIP FREEZE | |
pip freeze > requirements.txt | |
Actualizar un paquete de PIP | |
pip install --upgrade Django==1.4.2 | |
Checar inconsistencias | |
pip check | |
Instalar paquetes de requirements.txt |
NewerOlder