-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtips.txt
More file actions
44 lines (35 loc) · 1.02 KB
/
tips.txt
File metadata and controls
44 lines (35 loc) · 1.02 KB
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
#open new spyder from Anaconda prompt
spyder --new-instance option
#change the port number for flask
flask run -h localhost -p 3000
#pip install from the requirement file
pip install -r /path/to/requirements.txt
#pip install even though you have install it before
pip install -U -r requirements.txt
#create requirements file for the missing packages
pip freeze > requirements.txt
# alternative way to create requirements file
pip install pipreqs
pipreqs /path/to/project
#setuptools
pip install --user --upgrade setuptools wheel
setup.py sdist bdist_wheel
pip install --user --upgrade twine
## how to create electron standalone
cd todos
ionic serve
y
ionic serve
npm install -g electron
npm install -g electron-packager
npm install -g electron-installer
npm install -g electron-packager
npm install -g electron-installer-dmg
npm install --save-dev electron
npm install --save-dev electron-installer-dmg
npm run build --prod
ng run electron-serve
npm run electron-serve
npm run windows-release
npm run windows-build
npm run windows-release