Modern Django App with React: Difference between revisions
(Created page with "Install NPM (you likely already have it) <pre> sudo apt-get install nodejs npm <pre> Install Django <pre> pip install django </pre> Start the app <pre>django-admin startpro...") |
No edit summary |
||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
sudo apt-get install nodejs npm | sudo apt-get install nodejs npm | ||
<pre> | </pre> | ||
Install Django | Install Django |
Revision as of 07:27, 9 February 2021
Install NPM (you likely already have it)
sudo apt-get install nodejs npm
Install Django
pip install django
Start the app
django-admin startproject project
Run the app
cd project python manage.py runserver
Init Git
git init