Cheatography
https://cheatography.com
Configuración de django, python
pip3sudo apt install python3-pip | pip3 --version |
virtualenvsudo apt-get install python-virtualenv virtualenv | pip3 install virtualenv | virtualenv -p python3 envgv1 | source bin/activate | deactivate |
django | pip3 install -e django-dev | django-admin --version | django-admin startproject proyect | python manage.py createsuperuser | python manage.py startapp name | python manage.py runserver | pip install -r requirements.txt | python manage.py shell | python manage.py collecstatic |
| | django-databasepython manage.py makemigrations | python manage.py migrate |
django-leafletpip3 install django-leaflet | python manage.py ogrinspect rute.shp --mapping --multi --srid=4326 |
bower and collecstaticpip3 install django-bower | rpm install -g bower | python manage.py bower install | pip install django-staticfiles | python manage.py collectstatic |
grappellipip install django-grappelli | pip install django-grappelli-extras |
database djangopip install psycopg2 | pip install psycopg2-binary |
| | gitgit init | git clone /path/repository | git clone username@host:/path/repository | git add filename | git add | git commit -m "message" | git push origin master | git remote add origin server | git checkout -b rama (create rama) | git checkout master | git branch -d rama (delete rama) | git push origin rama | git pull | git merge rama | git diff source_rama target_rama | git tag 1.0.0 1b2e1 | git log | git checkout -- filename | git fetch origin | git reset --hard origin/master | gitk | git config color.ui true | git config format.preety oneline | git add -i |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets