Skip to content

Commit

Permalink
Runs build workflow locally and improves readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanta212 committed May 25, 2020
1 parent b1f0004 commit f716dbd
Show file tree
Hide file tree
Showing 21 changed files with 70 additions and 55 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/dispatch.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/dispatch_draft.yml

This file was deleted.

23 changes: 17 additions & 6 deletions .github/workflows/main.yml-old → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
name: Build
on:
push:

name: Build
jobs:
linux:
name: Android
runs-on: ubuntu-latest
steps:
- name: Checkout bookkeeping app
uses: actions/checkout@v2
with:
path: 'app'

- name: Checkout credentials repo
uses: actions/checkout@v2
with:
repository: hemanta212/personal
token: ${{ secrets.REPO_ACCESS_TOKEN }}
ref: "master"
path: 'personal'

- run: |
git clone https://github.com/flutter/flutter.git
cd flutter
Expand All @@ -16,12 +28,10 @@ jobs:
with:
java-version: '12.x'

- uses: actions/checkout@v2
with:
path: 'app'

- run: |
cd app
cp ../personal/credentials/inventory_flutter/google-services.json android/app/
flutter pub get
flutter build apk
mkdir build/app/outputs/apk/app_release
Expand All @@ -38,5 +48,6 @@ jobs:
app/build/app/outputs/apk/release/app-x86_64-release.apk
app/build/app/outputs/apk/app_release/app-release.apk
body_path: app/CHANGELOG.txt
tag_name: ${{ github.event.client_payload.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64 changes: 53 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,66 @@
# Inventory management and bookkeeping app
A practical approach to bookeeping in retail or small business.
# Inventory management app
A simple approach to inventory management in retail or small business.
This app is focused on making the sales entry, stock entry as fast as practically possible.

![Build](https://github.com/hemanta212/hello_flutter/workflows/Bookkeeping_app/badge.svg)
![Build](https://github.com/hemanta212/inventory_app/workflows/Build/badge.svg)

## App overview

<img src="images/1.png" width="280"/> <img src="images/2.png" width="280"/> <img src="images/3.png" width="280" /><img src="images/4.png" width="280" />
<img src="images/5.png" width="280"/> <img src="images/6.png" width="280"/> <img src="images/7.png" width="280" /><img src="images/8.png" width="280" />
<img src="images/9.png" width="280"/> <img src="images/10.png" width="280"/> <img src="images/11.png" width="280" /><img src="images/12.png" width="280" />
<img src="images/13.png" width="280"/> <img src="images/14.png" width="280"/> <img src="images/15.png" width="280" /><img src="images/16.png" width="280" />
<img src="images/17.png" width="280"/>

## Project Installation:
### 1. Building yourself

* First Install flutter : [Flutter Installation](https://flutter.dev/docs/get-started/install)
### 1. Install and try out the apk!
Head over to the release page to try out the apps. [APK Releases](https://github.com/hemanta212/inventory_app/releases/latest)

### 2. Building yourself

#### 1. Get Flutter
* Install flutter : [Flutter Installation](https://flutter.dev/docs/get-started/install)

#### 2. Clone this repo
```
$ git clone https://github.com/hemanta212/inventory_app.git
$ cd inventory_app
```

#### 3. Setup the firebase app

1. You'll need to create a Firebase instance. Follow the instructions at https://console.firebase.google.com.
2. Once your Firebase instance is created, you'll need to enable Google authentication.

* Go to the Firebase Console for your new instance.
* Click "Authentication" in the left-hand menu
* Click the "sign-in method" tab
* Click "Google" and enable it

3. Enable the Firebase Database
* Go to the Firebase Console
* Click "Database" in the left-hand menu
* Click the Cloudstore "Create Database" button
* Select "Start in test mode" and "Enable"

4. (skip if not running on Android)
* Create an app within your Firebase instance for Android, with package name com.yourcompany.news
* Run the following command to get your SHA-1 key:

```
keytool -exportcert -list -v \
-alias androiddebugkey -keystore ~/.android/debug.keystore
```

* In the Firebase console, in the settings of your Android app, add your SHA-1 key by clicking "Add Fingerprint".
* Follow instructions to download google-services.json
* place `google-services.json` into `/android/app/`.

#### 4. Run
Connect your device

```
$ git clone https://github.com/hemanta212/bookkeeping_app.git
$ cd bookkeeping_app
$ flutter upgrade
$ flutter pub get
$ flutter run
```

### 2. Install and try out the apk!
Head over to the release page to try out the apps. [APK Releases](https://github.com/hemanta212/bookkeeping_app/releases/latest)
Binary file added images/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f716dbd

Please sign in to comment.