Skip to content

Instantly share code, notes, and snippets.

@map0logo
Last active June 13, 2019 04:12
Show Gist options
  • Save map0logo/3c89759f65af636fdba39ba3ed44b2cf to your computer and use it in GitHub Desktop.
Save map0logo/3c89759f65af636fdba39ba3ed44b2cf to your computer and use it in GitHub Desktop.
---

Backend (Django)

Frontend (Vue)

Install local packages
$ pip install [pkg]
$ npm install [pkg]
List of modules
requirements.txt
package.json
package-lock.json
Location of modules

site-packages inside environment folder lib/python3.X/

node_modules by default in project's folder`

Install global / generally don't do that
sudo pip install [pkg]
sudo npm install -g [pkg]
Scaffolding
(env) $ pip install django
(env) $ django-admin startproject [project]
$ npm install -g @vue/cli
$ vue create [project]
Hot deployment for development
$ python manage.py runserver
$ npm serve
$ vue serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment