Skip to content

Commit

Permalink
Merge pull request #35 from MediaComem/fixing-issue-22-23-24-26-29-30-31
Browse files Browse the repository at this point in the history
Fixing issue 22 23 24 25 26 27 28 29 30 31 32
  • Loading branch information
verdonarthur authored Aug 12, 2020
2 parents 5c55695 + 938af67 commit b40aa3b
Show file tree
Hide file tree
Showing 106 changed files with 25,862 additions and 449 deletions.
7 changes: 7 additions & 0 deletions packages/mobile-app/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
2 changes: 0 additions & 2 deletions packages/mobile-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ npm-debug.log*
/platforms
/plugins
/www
android

capacitor.config.json
package-lock.json
5 changes: 5 additions & 0 deletions packages/mobile-app/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true
}
33 changes: 24 additions & 9 deletions packages/mobile-app/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
# MoDos Mobile App

## How to launch the app on android
## Install, Develop, Build, Deploy
### Pre Steps
- Install Angular CLI
- Install Android Studio
- Clone this repository

### CLI Steps
```
### Install
```shell
git clone 'modos repo...'
cd packages/mobile-app/
npm ci
npx cap init
ng build
npx cap add android && npx cap copy && npx cap update && npx cap open android
```

### Develop
```shell
# on web
npm run start

# on android
npm run dev:android:watch
```

## How to develop on android
### Build
```shell
npm run build

# for android
npx cap copy && npx cap update && npx cap open android
```

### Deploy

```shell
# Nothings to see here for now...
```
npm run dev:android:watch
```
91 changes: 91 additions & 0 deletions packages/mobile-app/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# NPM renames .gitignore to .npmignore
# In order to prevent that, we remove the initial "."
# And the CLI then renames it

# Using Android gitignore template: https://github.com/github/gitignore/blob/master/Android.gitignore

# Built application files
*.apk
*.ap_
*.aab

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/
release/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# IntelliJ
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
# Android Studio 3 in .gitignore file.
.idea/caches
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml

# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
#*.jks
#*.keystore

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild

# Freeline
freeline.py
freeline/
freeline_project_description.json

# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md

# Version control
vcs.xml

# lint
lint/intermediates/
lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/

# Cordova plugins for Capacitor
capacitor-cordova-android-plugins

# Copied web assets
app/src/main/assets/public
116 changes: 116 additions & 0 deletions packages/mobile-app/android/.idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions packages/mobile-app/android/.idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions packages/mobile-app/android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions packages/mobile-app/android/.idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/mobile-app/android/app/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/build/*
!/build/.npmkeep
Loading

0 comments on commit b40aa3b

Please sign in to comment.