Skip to content

Commit b40aa3b

Browse files
authored
Merge pull request #35 from MediaComem/fixing-issue-22-23-24-26-29-30-31
Fixing issue 22 23 24 25 26 27 28 29 30 31 32
2 parents 5c55695 + 938af67 commit b40aa3b

File tree

106 files changed

+25862
-449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+25862
-449
lines changed

packages/mobile-app/.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
indent_size = 2
6+
indent_style = space
7+
insert_final_newline = true

packages/mobile-app/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,5 @@ npm-debug.log*
2929
/platforms
3030
/plugins
3131
/www
32-
android
3332

34-
capacitor.config.json
3533
package-lock.json

packages/mobile-app/.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"tabWidth": 2,
3+
"useTabs": false,
4+
"singleQuote": true
5+
}

packages/mobile-app/README.md

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,37 @@
11
# MoDos Mobile App
22

3-
## How to launch the app on android
3+
## Install, Develop, Build, Deploy
44
### Pre Steps
55
- Install Angular CLI
66
- Install Android Studio
77
- Clone this repository
88

9-
### CLI Steps
10-
```
9+
### Install
10+
```shell
11+
git clone 'modos repo...'
1112
cd packages/mobile-app/
1213
npm ci
13-
npx cap init
14-
ng build
15-
npx cap add android && npx cap copy && npx cap update && npx cap open android
14+
```
15+
16+
### Develop
17+
```shell
18+
# on web
19+
npm run start
1620

21+
# on android
22+
npm run dev:android:watch
1723
```
1824

19-
## How to develop on android
25+
### Build
26+
```shell
27+
npm run build
28+
29+
# for android
30+
npx cap copy && npx cap update && npx cap open android
31+
```
32+
33+
### Deploy
34+
35+
```shell
36+
# Nothings to see here for now...
2037
```
21-
npm run dev:android:watch
22-
```
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# NPM renames .gitignore to .npmignore
2+
# In order to prevent that, we remove the initial "."
3+
# And the CLI then renames it
4+
5+
# Using Android gitignore template: https://github.com/github/gitignore/blob/master/Android.gitignore
6+
7+
# Built application files
8+
*.apk
9+
*.ap_
10+
*.aab
11+
12+
# Files for the ART/Dalvik VM
13+
*.dex
14+
15+
# Java class files
16+
*.class
17+
18+
# Generated files
19+
bin/
20+
gen/
21+
out/
22+
release/
23+
24+
# Gradle files
25+
.gradle/
26+
build/
27+
28+
# Local configuration file (sdk path, etc)
29+
local.properties
30+
31+
# Proguard folder generated by Eclipse
32+
proguard/
33+
34+
# Log Files
35+
*.log
36+
37+
# Android Studio Navigation editor temp files
38+
.navigation/
39+
40+
# Android Studio captures folder
41+
captures/
42+
43+
# IntelliJ
44+
*.iml
45+
.idea/workspace.xml
46+
.idea/tasks.xml
47+
.idea/gradle.xml
48+
.idea/assetWizardSettings.xml
49+
.idea/dictionaries
50+
.idea/libraries
51+
# Android Studio 3 in .gitignore file.
52+
.idea/caches
53+
.idea/modules.xml
54+
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
55+
.idea/navEditor.xml
56+
57+
# Keystore files
58+
# Uncomment the following lines if you do not want to check your keystore files in.
59+
#*.jks
60+
#*.keystore
61+
62+
# External native build folder generated in Android Studio 2.2 and later
63+
.externalNativeBuild
64+
65+
# Freeline
66+
freeline.py
67+
freeline/
68+
freeline_project_description.json
69+
70+
# fastlane
71+
fastlane/report.xml
72+
fastlane/Preview.html
73+
fastlane/screenshots
74+
fastlane/test_output
75+
fastlane/readme.md
76+
77+
# Version control
78+
vcs.xml
79+
80+
# lint
81+
lint/intermediates/
82+
lint/generated/
83+
lint/outputs/
84+
lint/tmp/
85+
# lint/reports/
86+
87+
# Cordova plugins for Capacitor
88+
capacitor-cordova-android-plugins
89+
90+
# Copied web assets
91+
app/src/main/assets/public

packages/mobile-app/android/.idea/codeStyles/Project.xml

Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mobile-app/android/.idea/jarRepositories.xml

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mobile-app/android/.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mobile-app/android/.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/build/*
2+
!/build/.npmkeep

0 commit comments

Comments
 (0)