-
Notifications
You must be signed in to change notification settings - Fork 3
Development workflow
Note: If you're an external contributor, you can't directly push your code to our repository. Don't worry though, you can simply create a fork (What is a fork?) using the Fork-button in the top right corner or just Click here to fork!.
Visit the issues and look for an interesting problem you want to solve.
- If you're new to this project, we recommend issues tagged with good first issue.
- We used GitHub projects to plan our next steps and set priorities: schulcloud-flutter/projects.
Once you have selected an issue to work on, assign yourself to that issue so we don't end up with two people doing the same thing^^
- Clone the repo.
- Create a new branch
issue/<id>-<lowercase-issue-title-with-dashes>
(e.g.,issue/103-use-filebrowserpageroute-globally
) and switch to that branch. - Open the cloned project in (preferably) Visual Studio Code. You should see a notification with recommended extensions.
- Run our code generators:
- Run
flutter pub get
(if Flutter's VS Code plugin hasn't done so already) - Run
flutter pub run build_runner build
- Run
flutter pub run intl_utils:generate
(or use the Flutter Intl extension in VS Code)
- Run
Work on your code. Repeat:
- Implement your changes. Make sure your code adheres to the code style guidelines.
- Run the app: Choose the predefined SC-launch-config in VS Code or run
flutter run --flavor=sc
on your command line. - Commit your changes.
- Push to the repo (or your fork).
When you're done, file a pull request. We will take a look at your code and once all checks pass, your code can get merged 🏖
Next read: Getting to know the HPI Schul-Cloud app architecture
Need help? Feel free to contact Jonas Wanke, a former member of the Flutter team at the HPI Schul-Cloud :)