A single code base to visualize and manage lap data for racing purposes
lap-tracker
A single code base to visualize and manage lap data for racing purposes
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.\
Download the project
Clone the project (and the submodule configs
if you have the rights)
git clone --recurse-submodules https://github.com/Panther-Racing-AUTh/lap-tracker.git
Run the project
If you have the rights clone our private repository configs
that has all the keys and credentials inside, then you are good to go, just run
flutter clean && flutter pub get && flutter run #only the first time
flutter run #every other time
If you don’t have the rights to clone, follow the instructions below to get started.
Be carefull on the directories
To run this project you need configs
repo inside the lib
directory.
Inside the configs
you should have
supabase_credentials.dart
key.properties
panther-keystore.jks
Details
- Create
supabase_credentials.dart
underlib/configs
directory and paste the following snippet:
import 'package:supabase_flutter/supabase_flutter.dart';
class SupabaseCredentials {
static const String APIKEY =
"YOUR_KEY_GOES_HERE";
static const String APIURL = "https://YOUR_API_URL_GOES_HERE";
static SupabaseClient supabaseClient = SupabaseClient(APIURL, APIKEY);
}
- Create a keystore under
lib/configs
directory:
More info can be found here Flutter – create an upload keystore
cd lib/configs
keytool -genkey -v -keystore YOUR_KEYSTORE_NAME-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias YOUR_ALIAS
- Create a
key.properties
underlib/configs
directory and paste the following snippet:
storePassword=YOUR_STORE_PASSWORD
keyPassword=YOUR_KEY_PASSWORD
keyAlias=YOUR_KEY_ALIAS
storeFile=YOUR_PATH_TO/YOUR_KEYSTORE_NAME-keystore.jks