-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNotes.txt
56 lines (37 loc) · 933 Bytes
/
Notes.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
49
50
51
52
53
54
55
56
Node Package Manager CLI
________________________
# Initialize NPM on project
npm init
# Install NPM packages
npm install
# Run local-dev script in package.json
npm run local-dev
# Run build script in package.json
npm run build
--------------------
Angular CLI
___________
# Build Angular front-end
ng build --configuration production
--------------------
Firebase CLI
____________
# Install Firebase
curl -sL https://firebase.tools | bash
# Login to Firebase
firebase login
# Init Firebase project
firebase init
# Start Firebase emulators
firebase emulators:start
# Start Firebase emulator - only Firestore
firebase emulators:start --only firestore
# Start Firebase emulators and import data
firebase emulators:start --import sample-courses
# Export emulators data
firebase emulators:export sample-courses
# Print uid of firebase project
firebase use
# Deploy firebase project
firebase deploy
--------------------