To manage (create, edit, delete, sort..) country, cities, categories, places, banner ad, users…you need to deploy the Admin Site Code on Trid package to Firebase Hosting that you're created in Step 1.
Setting up the Admin Site
Before you can install the Firebase CLI, you will need to install Node.js on your machine. Once you've installed Node.js, you can install the Firebase CLI using npm (the Node Package Manager).
Open Terminal (MacOS, Linux) or Command line (windows). Enter bellow command:
$ npm install -g firebase-tools
2. You should now have a globally available firebase command available from any terminal window on your machine. Once you've installed the Firebase CLI, sign in using your Google account:
$ firebase login
3. After purchase and download Trip package. You can Rename and Unzip it everywhere on your computer. cd to Admin Site folder in Trid Package Folder.
4. Init Admin Site.
The firebase init command creates a firebase.json configuration file in the root of your project directory.
5. Use "Arrow down" and "Space" key to choose Hosting. Then "Enter".
6. Use "Arrow down" to select Your Project that created in Firebase
7. Enter > Enter > Enter
WELL DONE!
A file firebase.json created in Admin Site folder
8. Now. Open terminal and cd to Admin folder in Admin Site folder and "npm install"
Importion: Don't need copy <script src="https://www.gstatic.com/firebasejs/5.6.0/firesbase.js></script>The Trid Admin Site still using firebase version 3.3.0. We will update it soon.
12. Open Admin site/public/admin/index.html
12. Select statement and paste
13. Ok. The last step. DEPLOY
cdto Admin Site folder.Write into command line:firebase deploy --only hosting