Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

3rd iteration of BI SP1

Honza Bittner edited this page May 19, 2018 · 8 revisions

What we have learned

... What about code sharing successes/fails to https://github.com/tenhobi/flashcards/wiki/Code-sharing-between-AngularDart-and-Flutter

write about:

Deployment

The project has been written in Dart with AngularDart and Flutter frameworks. This makes project deployment very simple because we don't have to do much changes to build configuration.

Make sure you have Dart 2 installed (dev channel).

To set up AngularDart project, you have to move into angular/ directory and run pub get command to download all dependencies. Then, for building the application, run pub run build_runner serve --config=release.

$ pub get
$ pub run build_runner serve --config=release

This will generate .js, .html and .css files + assets that you can use to deploy to the web server.

To build release version of the application for Flutter, first clean all generated files using flutter clean. Then you can download packages using flutter packages get, or simply run the build command which makes sure the packages are up to date using flutter build apk for Android.

$ flutter clean
$ flutter build apk

This will create the .apk file which is a binary file for Android.

App prototype

Landing page

About page

Course page

BI-SP2

The project continued as a part of a software team project 2 at the Faculty of Information Technology, CTU in Prague.

For the purpose of this course, we have to produce some content for each iteration.

BI-SP1

The project started as a part of a software team project at the Faculty of Information Technology, CTU in Prague.

For the purpose of this course, we have to produce some content for each iteration.

Clone this wiki locally