Posts

Showing posts from April, 2016

How to create a new repository on the command line

Image
$ echo "# my-shop" >> README.md     $ git init   $ git add .   $ git commit -m "first commit"   $ git remote add origin https://github.com/sanuptpm/my-shop.git   $ git push -u origin master    

How to Creating the Django app

Image
make sure you’re in the same directory as manage.py $ python manage.py startapp myshopApp 

How to run your Django project

Image
Go to the manage.py file present folder $ cd myshop $ python manage.py runserver  Right click and open link Or copy and past link into browser   http://127.0.0.1:8000/

How to Creating a Django project

Image
$ django-admin startproject myshop

How to check current version of Django

Image
$ python -c "import django; print(django.get_version())"    

How to install Django in ubuntu

Image
$ pip install Django