Skip to content

Commit c9af227

Browse files
committed
add readme md and ci cd
1 parent eaaa9c6 commit c9af227

File tree

5 files changed

+130
-13
lines changed

5 files changed

+130
-13
lines changed

.github/workflows/main.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: CD
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- "v*.*.*"
9+
jobs:
10+
build:
11+
name: Build APK
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Setup Java
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: "12.x"
19+
- name: Setup Flutter
20+
uses: subosito/flutter-action@v1
21+
with:
22+
channel: "stable"
23+
24+
- name: Pub Get Packages
25+
run: flutter pub get
26+
27+
- name: Build APK
28+
env:
29+
KEY_JKS: ${{ secrets.KEY_JKS }}
30+
KEY_PASSWORD: ${{ secrets.ALIAS_PASSWORD }}
31+
ALIAS_PASSWORD: ${{ secrets.KEY_PASSWORD }}
32+
run: echo $KEY_JKS | base64 --decode > android/upload-keystore.jks && flutter build apk --split-per-abi --release
33+
34+
- name: Build APPBUNDLE
35+
env:
36+
KEY_JKS: ${{ secrets.KEY_JKS }}
37+
KEY_PASSWORD: ${{ secrets.ALIAS_PASSWORD }}
38+
ALIAS_PASSWORD: ${{ secrets.KEY_PASSWORD }}
39+
run: echo $KEY_JKS | base64 --decode > android/upload-keystore.jks && flutter build appbundle --release
40+
41+
- name: Create Github Release
42+
uses: ncipollo/release-action@v1
43+
44+
with:
45+
artifacts: "build/app/outputs/apk/release/*.apk,build/app/outputs/bundle/release/*.aab"
46+
tag: v1.0.${{ github.run_number }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ app.*.map.json
4242
/android/app/debug
4343
/android/app/profile
4444
/android/app/release
45+
android/*.jks

README.md

Lines changed: 72 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,78 @@
1-
# petscape
1+
<h1 align="center">
2+
PETSCAPE
3+
</h1>
4+
<p align="center">
5+
take care your pet with petscape
6+
</p>
7+
<p align="center">
8+
<a href="https://flutter.dev/"><img alt="Platform" src="https://img.shields.io/badge/platform-Flutter-blue.svg"></a>
9+
<a href="https://github.com/codeyzx/gliders/"><img alt="Star" src="https://img.shields.io/github/stars/codeyzx/gliders"></a>
10+
</p>
211

3-
A new Flutter project.
12+
<p align="center">
13+
<img src="demo/thumbnail.png"/>
14+
</p>
415

5-
## Getting Started
16+
## Table of Contents
17+
- [Introduction](#introduction)
18+
- [Installation](#installation)
19+
- [Demo](#demo)
20+
- [Features](#features)
21+
- [Dependencies](#dependencies)
622

7-
This project is a starting point for a Flutter application.
823

9-
A few resources to get you started if this is your first Flutter project:
24+
## Introduction
1025

11-
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
26+
Petscape is an all-in-one application or platform for your pet's needs, we realize that as a pet owner in Indonesia it is pretty difficult starting from the difficulty of accessing and buying your various animal needs, the problem of finding clear veterinary information, and making an appointment. or consulting, difficult to track your animal's medical record and no place to share your moments with your animal, and others. Therefore, Petscape is here to solve this problem.
1327

14-
For help getting started with Flutter development, view the
15-
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
28+
## Installation
29+
30+
Clone or Download and Open it into Android Studio, VSCode, or Other IDE / Text Editor
31+
```
32+
https://github.com/codeyzx/petscape.git
33+
```
34+
35+
## Demo
36+
37+
<!-- |Shop|
38+
|--|
39+
|![](demo/shop.gif)
40+
|Pets|Vets|
41+
|--|--|
42+
|![](demo/pets.gif)|![](demo/vets.gif)|
43+
|Feed|Chat|
44+
|--|--|
45+
|![](demo/feed.gif)|![](demo/chat.gif)| -->
46+
47+
## Features
48+
- Shop
49+
- Vets
50+
- Feed
51+
- Pets
52+
- Chat
53+
54+
## Dependencies
55+
- [Firebase Auth](https://pub.dev/packages/cloud_firestore)
56+
- [Dio](https://pub.dev/packages/dio)
57+
- [File Picker](https://pub.dev/packages/file_picker)
58+
- [Firebase Auth](https://pub.dev/packages/firebase_auth)
59+
- [Firebase Storage](https://pub.dev/packages/firebase_storage)
60+
- [Flutter Riverpod](https://pub.dev/packages/flutter_riverpod)
61+
- [Flutter Screenutil](https://pub.dev/packages/flutter_screenutil)
62+
- [Flutter Chat Ui](https://pub.dev/packages/flutter_chat_ui)
63+
- [Flutter Chat Types](https://pub.dev/packages/flutter_chat_types)
64+
- [Go Router](https://pub.dev/packages/go_router)
65+
- [Google Fonts](https://pub.dev/packages/google_fonts)
66+
- [Google Sign In](https://pub.dev/packages/google_sign_in)
67+
- [Image](https://pub.dev/packages/image)
68+
- [Image Picker](https://pub.dev/packages/image_picker)
69+
- [Intl](https://pub.dev/packages/intl)
70+
- [Midtrans Sdk](https://pub.dev/packages/midtrans_sdk)
71+
- [Open Filex](https://pub.dev/packages/open_filex)
72+
- [Path Provider](https://pub.dev/packages/path_provider)
73+
- [Percent Indicator](https://pub.dev/packages/percent_indicator)
74+
- [Permission Handler](https://pub.dev/packages/permission_handler)
75+
- [Shared Preferences](https://pub.dev/packages/shared_preferences)
76+
- [Shimmer](https://pub.dev/packages/shimmer)
77+
- [Smooth Page Indicator](https://pub.dev/packages/smooth_page_indicator)
78+
- [Uuid](https://pub.dev/packages/uuid)

android/app/build.gradle

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,19 @@ android {
5454
versionName flutterVersionName
5555
}
5656

57+
58+
signingConfigs {
59+
release {
60+
storeFile file("../upload-keystore.jks")
61+
storePassword = "$System.env.KEY_PASSWORD"
62+
keyAlias = "upload"
63+
keyPassword = "$System.env.ALIAS_PASSWORD"
64+
}
65+
}
66+
5767
buildTypes {
5868
release {
59-
// TODO: Add your own signing config for the release build.
60-
// Signing with the debug keys for now, so `flutter run --release` works.
61-
signingConfig signingConfigs.debug
69+
signingConfig signingConfigs.release
6270
}
6371
}
6472
}

demo/thumbnail.png

369 KB
Loading

0 commit comments

Comments
 (0)