For activating the app:
-
Drag giid folder to the desktop.
-
Open giid folder in VScode.
-
Using VScode and write 'flutter run' in the terminal.
-
Choose Windows(1) for the app platform.
For activating the web:
-
Open the Mongo folder in IntelliJ IDEA first.
-
Using IntelliJ IDEA to open the 2webs: index.html & push.html.
right click the two webs → open in → browser → chrome.
- 'node index.js' in IDEA terminal. It will reply 'app is listening on port 3000!' mean works.
For web operation:
-
Click the 'push' button in index.html, it will navigate to push web.
-
In push web, click the 'start push' to start.
-
For each level just click the 'deny' button to stop push text.
-
Click 'push' again to re-push the text.
For web add & delete text function:
-
Fill in the Name, Level, Guide_id (means an order of text), Content and Push_time
-
Push_time is the time push when the user is already set. The frequency is 1second for each refresh.
-
When the port is listening, the set text will appear below the web, click the 'del' button to delete.