37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# Kuwot
|
|
Daily quote app with beautiful pics from [Unsplash](https://unsplash.com/), built with Flutter 🚀
|
|
|
|
<a href='https://play.google.com/store/apps/details?id=com.dhemasnurjaya.kuwot'><img alt='Get it on Google Play' width="200" src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png'/></a>
|
|
|
|
# Environment Variables
|
|
## Visual Studio Code
|
|
Add or modify `.vscode/launch.json`, fills out the required environment variables.
|
|
|
|
```json
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "kuwot-app (dev)",
|
|
"request": "launch",
|
|
"type": "dart",
|
|
"args": [
|
|
"--dart-define=QUOTE_API_SCHEME=http",
|
|
"--dart-define=QUOTE_API_HOST=10.0.2.2",
|
|
"--dart-define=QUOTE_API_PORT=8080",
|
|
"--dart-define=SENTRY_DSN=optional"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
## Android Studio (or IntelliJ)
|
|
Add or modify `run/debug configurations`, add the following environment variables to the `Additional run args` field.
|
|
|
|
```
|
|
--dart-define=QUOTE_API_SCHEME=http
|
|
--dart-define=QUOTE_API_HOST=10.0.2.2
|
|
--dart-define=QUOTE_API_PORT=8080
|
|
--dart-define=SENTRY_DSN=optional
|
|
```
|