Skip to content

Startup

Relorer edited this page Feb 18, 2023 · 3 revisions

Setting up the environment

  1. Install git
  1. Set the name git config --global user.name "John Doe"
  2. Set the email git config --global user.email johndoe@example.com
  3. More about configuring git
  1. Install Visual Studio Code (or another IDE to your liking)
  2. Install Flutter
  3. Run flutter doctor to confirm that you are ready to use Flutter

Run the application

  1. Clone the repository git clone https://github.com/Relorer/Edokuri.git
  2. Open the cloned repository in the ide (for example in Visual Studio Code)
  3. Create a file in the root of the project with the name .env
  4. Add YANDEX_DICTIONARY_KEY=dict.lorem.key line to the .env file (get the real key here, or ask for it from @Relorer)
  5. Install dependencies flutter pub get
  6. Build the generated files flutter pub run build_runner build --delete-conflicting-outputs
  7. Generate localization files
  1. Run flutter pub run easy_localization:generate -S "assets/translations"
  2. Then run flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S "assets/translations"
  1. Create and run a virtual device
  2. Run the app flutter run

Clone this wiki locally