Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion client/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"ios": {
"supportsTablet": true,
"infoPlist": {
"NSCameraUsageDescription": "deze app gebruikt de camera om de signs te kunnen vertalen."
"NSCameraUsageDescription": "deze app gebruikt de camera om de signs te kunnen vertalen.",
"ITSAppUsesNonExemptEncryption": false
},
"bundleIdentifier": "com.anonymous.signapse"
},
Expand Down
12 changes: 11 additions & 1 deletion client/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@
}
},
"production": {
"autoIncrement": true
"autoIncrement": true,
"distribution": "store",
"env":{
"EXPO_PUBLIC_API_URL":"https://api.smart-gestures.devbitapp.be"
},
"android": {
"buildType": "app-bundle"
},
"ios": {
"image": "latest"
}
}
},
"submit": {
Expand Down
6 changes: 6 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"ios": "expo start --ios",
"web": "expo start --web",
"export": "expo export -p web",
"prod:build:android": "npx eas build --platform android --profile production --clear-cache",
"prod:build:ios": "npx eas build --platform ios --profile production --clear-cache",
"dev:build:android": "npx eas build --platform android --profile development --clear-cache",
"dev:build:ios": "npx eas build --platform ios --profile development --clear-cache",
"preview:build:android": "npx eas build --platform android --profile preview --clear-cache",
"preview:build:ios": "npx eas build --platform ios --profile preview --clear-cache",
"serve": "expo serve",
"lint": "expo lint",
"prepare": "husky"
Expand Down
47 changes: 47 additions & 0 deletions docs/Getting Started/Development/buildingGuide.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<div style="text-align: center;">
<img src="/assets/cli.png" alt="Beschrijving van afbeelding" width="200">
</div>
# EAS Build Guide

This guide describes how to perform three types of builds with **EAS (Expo Application Services)**: cloud builds, local builds, and iOS builds. This is suitable for beginners and other developers who want to get started quickly.
Expand Down Expand Up @@ -72,6 +75,7 @@ This will build the app in the cloud for iOS using the `production` build profil
4. Choose the build profile when prompted (for example `preview`, `production`, or `development`).
5. EAS will show a link where you can monitor the build status.


#### Example terminal output:

```bash
Expand Down Expand Up @@ -107,6 +111,30 @@ With a local build, the app is built on your own computer. Useful for quick test
npx eas build --platform android '--local' --profile preview
npx eas build --platform ios '--local' --profile preview
```
!!!! note
for ease we pre programmed the command in scripts in package.json like so:
```json
"scripts":
{
"prod:build:android": "npx eas build --platform android --profile production --clear-cache",
"prod:build:ios": "npx eas build --platform ios --profile production --clear-cache",
"dev:build:android": "npx eas build --platform android --profile development --clear-cache",
"dev:build:ios": "npx eas build --platform ios --profile development --clear-cache",
"preview:build:android": "npx eas build --platform android --profile preview --clear-cache",
"preview:build:ios": "npx eas build --platform ios --profile preview --clear-cache",
}
```

You can run these commands via:
```bash
npm run prod:build:android # this will trigger a production build for android
npm run prod:build:ios # this will trigger a production build for ios
npm run dev:build:android # this will trigger a development build for android
npm run dev:build:ios # this will trigger a development build for ios
npm run preview:build:android # this will trigger a preview build for android
npm run preview:build:ios # this will trigger a preview build for ios
```
you can still add extra flags like `--local` if needed.

You can rename the file afterward using F2.
3. The build runs locally and the result is in the `./build` folder of your project.
Expand Down Expand Up @@ -145,6 +173,25 @@ npx eas build --platform ios --profile production
* Choose a provisioning profile (EAS can handle this automatically)
4. EAS will start the cloud build and provide a link to monitor the status.

!!!! note
for ease we pre programmed the command in scripts in package.json like so:
```json
"scripts":
{
"prod:build:ios": "npx eas build --platform ios --profile production --clear-cache",
"dev:build:ios": "npx eas build --platform ios --profile development --clear-cache",
"preview:build:ios": "npx eas build --platform ios --profile preview --clear-cache",
}
```

You can run these commands via:
```bash
npm run prod:build:ios # this will trigger a production build for ios
npm run dev:build:ios # this will trigger a development build for ios
npm run preview:build:ios # this will trigger a preview build for ios
```
you can still add extra flags like `--non-interactive` if needed.

#### Example terminal output:

```bash
Expand Down
40 changes: 40 additions & 0 deletions docs/MkDocs/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,46 @@

This document provides a comprehensive overview of how the MkDocs documentation system is structured and configured in the Smart Glasses project.

## Table of Contents <!-- TOC -->
- [MkDocs Structure Guide](#mkdocs-structure-guide)
- [Table of Contents ](#table-of-contents-)
- [Directory Structure](#directory-structure)
- [Configuration Architecture](#configuration-architecture)
- [1. Main Configuration (`config/mkdocs/mkdocs.yml`)](#1-main-configuration-configmkdocsmkdocsyml)
- [Site Information](#site-information)
- [File Structure](#file-structure)
- [Theme Configuration](#theme-configuration)
- [Markdown Extensions](#markdown-extensions)
- [Plugins](#plugins)
- [2. Docker Configuration (`config/mkdocs/Dockerfile`)](#2-docker-configuration-configmkdocsdockerfile)
- [Base Image](#base-image)
- [Dependencies](#dependencies)
- [File Structure Setup](#file-structure-setup)
- [Service Configuration](#service-configuration)
- [3. Service Orchestration (`docker-compose.yaml`)](#3-service-orchestration-docker-composeyaml)
- [Service Definition](#service-definition)
- [Content Organization](#content-organization)
- [Development Workflow](#development-workflow)
- [1. Local Development](#1-local-development)
- [2. Content Creation](#2-content-creation)
- [3. Configuration Updates](#3-configuration-updates)
- [Advanced Features](#advanced-features)
- [Mermaid Diagrams](#mermaid-diagrams)
- [Code Highlighting](#code-highlighting)
- [Admonitions](#admonitions)
- [Customization Points](#customization-points)
- [Theme Customization](#theme-customization)
- [Navigation Structure](#navigation-structure)
- [Plugin Extensions](#plugin-extensions)
- [Deployment Considerations](#deployment-considerations)
- [Production Deployment](#production-deployment)
- [Performance Optimization](#performance-optimization)
- [Security](#security)
- [Troubleshooting](#troubleshooting)
- [Common Issues](#common-issues)
- [Debug Mode](#debug-mode)
- [Log Access](#log-access)

## Directory Structure

```text
Expand Down
Binary file added docs/assets/cli.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 docs/assets/logo-wordmark.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 docs/assets/node.js_logo.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 docs/assets/npm vs npx.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 docs/assets/npm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions docs/info/eas-cli.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
!!! warning
This file serves as a reference for understanding EAS-CLI. For installation or setup, see the [Getting Started](../Getting%20Started/README.md) folder of your Expo project.

![EAS-CLI Logo](/assets/cli.png)

# EAS-CLI — Info
(Expo Application Services Command Line Interface)




!!! warning
This file serves as a reference for understanding EAS-CLI. For installation or setup, see the [Getting Started](../Getting%20Started/README.md) folder of your Expo project.
---

## What is EAS-CLI?
Expand Down
Loading
Loading