Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 1.42 KB

File metadata and controls

34 lines (30 loc) · 1.42 KB

To run the App on your machine, Follow these Steps Carefully

Step I Go this location

image

Step II Copy runArgs from here

Step III Paste them here

image

If you use Flutter run, then modify your command to "flutter run runargs "

or use vscode launch.json configuration

{
    "name": "OneStop Dev",
    "request": "launch",
    "type": "dart",
    "program": "lib/main.dart",
    "args": [
        "--flavor", "dev",
        "--dart-define", "ENV=dev",
        "--dart-define","SERVER_URL=https://swc.iitg.ac.in/test/onestop/api/v3",
        "--dart-define","SECURITY_KEY=0ne5t0p-Test",
        "--dart-define","GMAP_KEY=gmapkey",
        "--dart-define","GITHUB_ISSUE_TOKEN=X",
        "--dart-define","IRBS_SERVER_URL=https://swc.iitg.ac.in/test/irbs",
        "--dart-define","GATELOG_WEBSOCKET_URL=wss://swc.iitg.ac.in/test/khokhaEntry/api/v1/ws",
        "--dart-define","GATELOG_SERVER_URL=https://swc.iitg.ac.in/test/khokhaEntry/api/v1",
        "--dart-define","MODERATION_SERVER_URL=https://swc.iitg.ac.in/onestopModerate",
        "--dart-define","EVENT_SERVER_URL=https://swc.iitg.ac.in/events"
    ]
}

Don't use "--flavor dev" for IOS builds, flavors for IOS is yet to be implemented.