Clone the repository.
git clone https://github.com/scorelab/Labellab.git
Run npm install in labellab-client folder.
cd labellab-client/
npm install
Use two terminals, one for labellab-server and the other for labellab-client.
Run the Node server in the labellab-server folder:
$ npm start
Run the Nodemon server in the labellab-server folder:
$ npm run dev
NOTE: Before starting the server create a file named
.env
same as.env.example
and add your OAUTH and DATABASE credentials in the file.
start the npm server in labellab-client directory.
npm start
And use localhost:3000 to browse.
NOTE: This version is only supporting for Chrome and Firefox browser. And make sure to instal the extension -> Redux Dev Tools in chrome extension library.
Run the Node server in the labellab-server directory (if not already done):
npm start
In a new terminal navigate to labellab_mobile
directory.
Configure the lib/config.dart
using the format provided in lib/config_example.dart
.
Application needs google-services.json
issue from firebase to run google sign in option.To obtain the file,
- Sign in to https://console.firebase.google.com/.
- Click Add Project and necessary information about the project.
- Agree to the terms and click Create Project.
- After creating the project, click Add Firebase to your android app.
- Go to project location and open
android/app/src/main/AndroidManifest.xml
.Copy the package name(org.scorelab.labellab_mobile) and paste in the package name field - Get the SHA1 fingerprint by following the instruction and paste it in the SHA1 fingerprint field.
- click next and download the
google-services.json
. - paste the file in location
android/app/
folder.
Build flutter the application
flutter build apk
NOTE: Use 'ios' instead of 'apk' to build for iOS
or run the flutter application
flutter run
NOTE: A device with USB debugging enabled or virtual device is required