forked from johnpryan/letsvote
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
62 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
# letsvote | ||
|
||
LetsVote demonstrates how code can be shared across web, mobile, and the server. | ||
|
||
It uses Flutter for iOS / Android, Polymer for the web, and | ||
[shelf](https://pub.dartlang.org/packages/shelf) on the server | ||
|
||
# How to run | ||
|
||
Use pub to run the web app: | ||
|
||
``` | ||
cd letsvote_web | ||
pub get | ||
pub serve | ||
``` | ||
|
||
Use flutter to run the mobile app: | ||
|
||
``` | ||
cd letsvote_mobile | ||
flutter packages get | ||
flutter run | ||
``` | ||
|
||
Use dart to run the web server: | ||
|
||
``` | ||
cd letsvote_web | ||
pub get | ||
pub run bin/server.dart | ||
``` | ||
|
||
# Configuration | ||
|
||
Use `letsvote_web/web/config.yaml` to configure what server the web connects to. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters