- Install docker
- Install the (Dev Containers extension)[https://code.visualstudio.com/docs/devcontainers/tutorial#_install-the-extension] for Visual Studio Code.
- Clone this repo from Github into a dev container (Ctrl+Shift+P "clone container").
- Wait for the container to setup. You will get a message once the Flutter extension installs that Flutter needs to be downloaded. Ignore this. Flutter is already downloading in the background, it just takes a few minutes.
- Once the terminal shows that Flutter has installed, use Ctrl+Shift+P "reload window" to reload the VS code window.
- From the container terminal, navigate into the "alderman_spending" directory. Run the command
flutter pub get
.
- Install the Chrome Dart Debug extension.
- In VS Code, go to the debug settings in the left sidebar and choose the Web Server configuration.
- Open the main.dart file. Run the debug configuration.
- Wait 30 seconds to a few minutes for the dev server to spin up.
- When the webpage opens in a new Chrome tab, activate the Dart extension on that tab.