Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ginkgo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vjrj
ginkgo
Commits
aa5a1148
Commit
aa5a1148
authored
2 years ago
by
vjrj
Browse files
Options
Downloads
Patches
Plain Diff
Improved README. Fix for #8
parent
85731cc9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+29
-11
29 additions, 11 deletions
README.md
assets/img/cors.png
+0
-0
0 additions, 0 deletions
assets/img/cors.png
with
29 additions
and
11 deletions
README.md
+
29
−
11
View file @
aa5a1148
...
@@ -12,18 +12,18 @@ users to manage their Ğ1 currency on their mobile device using just a browser.
...
@@ -12,18 +12,18 @@ users to manage their Ğ1 currency on their mobile device using just a browser.
wallet address).
wallet address).
*
A point-of-sale device that generates a QR code for the public address and other QR codes with
*
A point-of-sale device that generates a QR code for the public address and other QR codes with
amounts (which lightweight wallets will understand).
amounts (which lightweight wallets will understand).
*
Send Ğ1 transactions
*
Transactions history page and Balance with persistence to load last transactions on boot
*
Contact management and cache (to avoid too much API petitions)
*
Internationalization (i18n)
*
Internationalization (i18n)
*
Some contextual help (for example, by tapping on "Validity").
*
QR code reader
*
QR code reader
*
Contact management
*
Import/export of your wallet
*
Import/export of your wallet
*
Transactions history page and Balance
*
Automatic discover and selection of nodes, error recovery & retry
*
Automatic discover and selection of nodes
*
Customizable via
[
env file
](
https://git.duniter.org/vjrj/ginkgo/-/blob/master/assets/env.production.txt
)
*
Customizable via
[
env file
](
https://git.duniter.org/vjrj/ginkgo/-/blob/master/assets/env.production.txt
)
*
Some contextual help (for example, by tapping on "Validity").
## Work in progress
## Work in progress
*
Send Ğ1 transactions
*
Connectivity detection (to retry transactions, and other net operations)
*
Connectivity detection (to retry transactions, and other net operations)
*
Search improvements
*
Search improvements
...
@@ -31,7 +31,15 @@ users to manage their Ğ1 currency on their mobile device using just a browser.
...
@@ -31,7 +31,15 @@ users to manage their Ğ1 currency on their mobile device using just a browser.
[
https://g1demo.comunes.net/
](
https://g1demo.comunes.net/
)
[
https://g1demo.comunes.net/
](
https://g1demo.comunes.net/
)
## Prerequisites
## Translations
First of all, you can contribute translating Ğ1nkgo to your language:
[
https://weblate.duniter.org/settings/g1nkgo/g1nkgo/
](
https://weblate.duniter.org/settings/g1nkgo/g1nkgo/
)
## Dev contributions
### Prerequisites
This repository requires
[
Flutter
](
https://flutter.dev/docs/get-started/install
)
to be installed and
This repository requires
[
Flutter
](
https://flutter.dev/docs/get-started/install
)
to be installed and
present in your development environment.
present in your development environment.
...
@@ -49,7 +57,7 @@ Get the dependencies.
...
@@ -49,7 +57,7 @@ Get the dependencies.
flutter pub get
flutter pub get
```
```
## Build & deploy
##
#
Build & deploy
Something like this should work:
Something like this should work:
```
```
...
@@ -58,7 +66,7 @@ flutter build web --release
...
@@ -58,7 +66,7 @@ flutter build web --release
rsync --progress=info2 --delete -aH build/web/ youruser@yourserver:/var/www/ginkgo/
rsync --progress=info2 --delete -aH build/web/ youruser@yourserver:/var/www/ginkgo/
```
```
##
Develop
ment
##
# Run dev environ
ment
Run the app via command line or through your development environment.
Run the app via command line or through your development environment.
...
@@ -66,7 +74,15 @@ Run the app via command line or through your development environment.
...
@@ -66,7 +74,15 @@ Run the app via command line or through your development environment.
flutter run lib/main.dart
flutter run lib/main.dart
```
```
## Pub packages
In order to do gva operations, you should disable cors in the flutter run config:
```
--web-browser-flag "--disable-web-security"
```

### Pub packages used
This repository makes use of the following pub packages:
This repository makes use of the following pub packages:
...
@@ -85,7 +101,7 @@ This repository makes use of the following pub packages:
...
@@ -85,7 +101,7 @@ This repository makes use of the following pub packages:
|
[
Url Launcher
](
https://pub.dev/packages/url_launcher
)
| ^6.1.7 | Open urls in Browser |
|
[
Url Launcher
](
https://pub.dev/packages/url_launcher
)
| ^6.1.7 | Open urls in Browser |
|
[
Ionicons
](
https://pub.dev/packages/ionicons
)
| ^0.2.2 | Modern icon library |
|
[
Ionicons
](
https://pub.dev/packages/ionicons
)
| ^0.2.2 | Modern icon library |
###
#
Easy Localization
### Easy Localization
To add translations, add it to
`assets/translations`
and enable it in
`main.dart`
. Also go
To add translations, add it to
`assets/translations`
and enable it in
`main.dart`
. Also go
to
[
ios/Runner/Info.plist
](
./ios/Runner/Info.plist
)
and update the following code:
to
[
ios/Runner/Info.plist
](
./ios/Runner/Info.plist
)
and update the following code:
...
@@ -93,8 +109,10 @@ to [ios/Runner/Info.plist](./ios/Runner/Info.plist) and update the following cod
...
@@ -93,8 +109,10 @@ to [ios/Runner/Info.plist](./ios/Runner/Info.plist) and update the following cod
```
```
<key>CFBundleLocalizations</key>
<key>CFBundleLocalizations</key>
<array>
<array>
<string>en</string>
<string>en</string>
<string>es</string>
<string>es</string>
<string>fr</string>
<string>ca</string>
</array>
</array>
```
```
...
...
This diff is collapsed.
Click to expand it.
assets/img/cors.png
0 → 100644
+
0
−
0
View file @
aa5a1148
60 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment