-
Notifications
You must be signed in to change notification settings - Fork 1
Startup
Relorer edited this page Feb 18, 2023
·
3 revisions
- Install git
- Set the name
git config --global user.name "John Doe"- Set the email
git config --global user.email johndoe@example.com- More about configuring git
- Install Visual Studio Code (or another IDE to your liking)
- Install Flutter
- Run
flutter doctorto confirm that you are ready to use Flutter
- Clone the repository
git clone https://github.com/Relorer/Edokuri.git - Open the cloned repository in the ide (for example in Visual Studio Code)
- Create a file in the root of the project with the name
.env - Add
YANDEX_DICTIONARY_KEY=dict.lorem.keyline to the.envfile (get the real key here, or ask for it from @Relorer) - Install dependencies
flutter pub get - Build the generated files
flutter pub run build_runner build --delete-conflicting-outputs - Generate localization files
- Run
flutter pub run easy_localization:generate -S "assets/translations"- Then run
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S "assets/translations"
- Create and run a virtual device
- Run the app
flutter run
In the latest versions, we switched to POCKETBASE for this reason .env file should contain a link to backend server POCKETBASE_URL