-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.txt
48 lines (36 loc) · 1.09 KB
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
python -m venv .venv
inside .venv
firsttime tutorial{
pip install django djangorestframework
django-admin startproject music_party
cd music_party
django-admin startapp api
python manage.py makemigrations
python manage.py migrate
}
git clone{
pip install -r requirements.txt
cd folder
python manage.py makemigrations
python manage.py migrate
}
python manage.py makemigrations
python manage.py runserver
dentro de la carpeta de frontend:
npm init -y
npm i webpack webpack-cli --save-dev
npm i @babel/core babel-loader @babel/preset-env @babel/preset-react --save-dev
npm i react react-dom --save-dev
npm install @material-ui/core
npm install @babel/plugin-proposal-class-properties
npm install react-router-dom
npm install @material-ui/icons
npm install @material-ui/lab
CAUTION == Do a backup for package.json and package_lock.json
git rm --cached file
========ExampleA=============
========Example2=============
========Example3B=============
========Example3A=============
Compare api/views.py between tutorial9 and tutorial10