Installation of Django
If you have not yet installed django on your system, install it using the below command:
After installation you can check the validity of the
What does
To see list of
That's it! Welcome to the
#python #django #installation #pip #django_part1
If you have not yet installed django on your system, install it using the below command:
$ sudo pip install django
Password:
Collecting django
Downloading Django-1.11.6-py2.py3-none-any.whl (6.9MB)
100% |████████████████████████████████| 7.0MB 174kB/s
Requirement already satisfied: pytz in /Library/Python/2.7/site-packages (from django)
Installing collected packages: django
Successfully installed django-1.11.6
After installation you can check the validity of the
Django
installation:$ python -m django --version
1.11.6
What does
-m
do in the above command:-m module-name
Searches sys.path for the named module and runs the corresponding .py file as a script.
To see list of
django-admin
subcommands:$ django-admin help
Type 'django-admin help <subcommand>' for help on a specific subcommand.
Available subcommands:
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
runserver
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver
Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.)
That's it! Welcome to the
Django
world. :)#python #django #installation #pip #django_part1
Install a specific version of
https://askubuntu.com/questions/957439/how-to-install-a-specific-version-of-node-on-ubuntu-server
#ubuntu #linux #nodejs #node #versioin #installation
NODEJS
on linux server:https://askubuntu.com/questions/957439/how-to-install-a-specific-version-of-node-on-ubuntu-server
#ubuntu #linux #nodejs #node #versioin #installation
Ask Ubuntu
How to install a Specific Version of Node on Ubuntu Server
I am trying to install Node 6.11.3 on my Ubuntu Server.
I don't want to use nvm for this.
I have already used this link but it just does not work out while using jenkins and stuff.
I want to
I don't want to use nvm for this.
I have already used this link but it just does not work out while using jenkins and stuff.
I want to
Install NPM packages from
Sometimes because of filtering issues you need to download node packages from http so make sure to make it http:
#node #npm #shit #installation #config
http
or https
:npm config set registry https://registry.npmjs.org/
Sometimes because of filtering issues you need to download node packages from http so make sure to make it http:
npm config set registry http://registry.npmjs.org/
#node #npm #shit #installation #config