-
Notifications
You must be signed in to change notification settings - Fork 1
Setting up the development environment
Make sure you have the following dependencies available:
-
Linux, Mac OS X, or Windows.
-
git (used for source version control).
-
Flutter SDK with the branch dev or master.
-
An IDE. Android Studio with the Flutter plugin is our flagship IDE. You can use whatever IDE you feel most comfortable with.
-
An ssh client (used to authenticate with GitHub).
-
The Android platform tools.
You can install this using one of the following commands:
- Mac:
brew cask install android-platform-tools
- Linux:
sudo apt-get install android-tools-adb
- Mac:
Run the following steps to set up your environment:
-
Ensure that
adb
(from the Android platform tools) is in your path (e.g., thatwhich adb
prints sensible output). -
Fork
https://github.com/Darkness4/minitel-app/tree/develop
into your own GitHub account. If you already have a fork, and are now installing a development environment on a new machine, make sure you've updated your fork so that you don't use stale configuration options from long ago. -
If you haven't configured your machine with an SSH key that's known to github then follow the directions here: https://help.github.com/articles/generating-ssh-keys/.
-
git clone [email protected]:<your_name_here>/minitel-app.git
-
cd minitel-app
-
git remote add upstream [email protected]:Darkness4/minitel-app.git
(So that you fetch from the master repository, not your clone, when runninggit fetch
et al.) -
git fetch upstream
Fetch it now -
git checkout upstream/develop -b <name_of_your_branch>
Create your own branch named after your patch. -
Run
flutter packages get
This will fetch all the packages that Minitel Toolbox depends on. -
Hack away
- Style guide for Flutter repo, to learn how to write code for Flutter.
- Tree hygiene, to learn about how to submit patches.
-
git commit -a -m "<Theme>: <your informative commit message>"
(eg.:"Gateway: Deleted"
) -
Send us a pull request:
- Go to https://github.com/Darkness4/minitel-app/tree/develop and click the
"Compare & pull request" button. (only the code owner has the right to push to
master
)
Minitel Toolbox • Write Test Find Bug • Embrace the Yak Shave