Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beckmannarmin/masterarbeit-v2
Neugestaltung eines Tools zum operativen Projektmanagement à la Jira oder Wekan. Alles in einem Docker Image für leichtes Deployment in der Cloud oder lokal.
https://github.com/beckmannarmin/masterarbeit-v2
dart flutter redesign
Last synced: 12 days ago
JSON representation
Neugestaltung eines Tools zum operativen Projektmanagement à la Jira oder Wekan. Alles in einem Docker Image für leichtes Deployment in der Cloud oder lokal.
- Host: GitHub
- URL: https://github.com/beckmannarmin/masterarbeit-v2
- Owner: BeckmannArmin
- Created: 2022-02-22T07:44:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T10:39:41.000Z (over 2 years ago)
- Last Synced: 2023-03-10T01:55:51.816Z (over 1 year ago)
- Topics: dart, flutter, redesign
- Language: Dart
- Homepage:
- Size: 1.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Repository for my master thesis in the field of human computer interaction.
> The goal of this master thesis is the technical conception and implementation of an optimized mobile user interface of the existing application prototype "beebusy" for mobile, operative task management in projects.
### Below is the setup guide to run the application locally.
___
### Development Setup
This sets up all needed software for developing backend server and Webapp.
#### Start Server for development of web app
Make sure you have the required software setup (see below).This sets up a docker container with the DB and backend server:
1. Open terminal and navigate to src folder inside project root
2. To start DB, Adminer and Server for the first time run (inside src):
```
cd backend/.docker
docker-compose up
```
and (inside src)
```
cd frontend/.docker
docker-compose up
```
3. To start and stop the server subsequently run (inside src):
- Starting:
```
docker-compose start
```
- Stopping:
```
docker-compose stop
```
4. A PostgreSQL DB should now be available at `localhost:5432`
- user: postgres
- passwort: 123
- db: postgres
5. Also Adminer, a DB managemant tool, is available at `localhost:8080`
6. REST API is available at `localhost:3011`
##### Optional:
7. Install Postman and import `beebusy.postman_collection.json` from beebusy_server folder#### Software Requirements and Setup
- Docker - *needed for Development of Webapp and Backend server*
- Flutter & Android Studio - *needed for Development of Webapp*
- IntelliJ - *needed for Development of Backend server*
- Aqueduct (Dart package) - *needed for Development of Backend server***NOTE:**
> Android-Studio or IntelliJ will work.
> Install the `Flutter` and `Dart` plugins to enable syntax highlighting, automatic download of packages and extended support for debugging.#### Docker
1. Download and install Docker Desktop
- https://www.docker.com/get-started
2. Make sure it works by running:
```
docker --version
```#### Flutter & Android Studio
1. Install Flutter & Anrdoid Studio
- https://flutter.dev/docs/get-started/install
- https://flutter.dev/docs/get-started/editor2. Make sure path env variable is set correctly to flutter bin directory. Verify by running:
```
flutter --version
```3. Enable Flutter Web
- Follow the instructions on: https://flutter.dev/docs/get-started/web
or```
flutter channel beta
flutter upgrade
flutter config --enable-web
```#### IntelliJ
IntelliJ is needed to develop the server. You can also use another editor, but IntelliJ is recommended.
1. Install IntelliJ
- https://www.jetbrains.com/de-de/idea/download/#### Aqueduct (Dart package)
For more information on aqueduct visit: https://aqueduct.io/docs/tour/
1. If Flutter is installed correctly, the dart command tool should be available. To verify run:
```
dart --version
```2. Set the following env variables:
- `PUB_CACHE` to pub cache bin directory, for example: C:\Users\your-user\AppData\Local\Pub\Cache
- `PUB_HOSTED_URL` to https://pub.dev
- Add to path env variable:
- %PUB_CACHE%\bin
- path-to-flutter\bin\cache\dart-sdk\bin3. Following command should be available:
```
pub --version
```4. Open terminal in project root folder and navigate to folder: src/beebusy_server
5. Following command should be available:
```
pub run aqueduct --version
```
##### Optional:
6. Install IntelliJ Templates for aqueduct
- https://aqueduct.io/docs/intellij/#### Beebusy-App (Web-App)
Navigate to the app directory
```
cd /path/to/beebusy/src/frontend
```##### Get required flutter packages
```
flutter pub get
```##### Generate autogenerated files
Generate files once:
```
flutter packages pub run build_runner build
```Keep generating on save:
```
flutter packages pub run build_runner watch
```### Release Setup
#### Note
> Can't start development and release at the same time.
> Only docker needs to be installed to start a release version of the app. See: https://www.docker.com/get-started1. Open terminal and navigate to src folder inside project root
```
cd /path/to/beebusy/src
```2. To start DB, Server and WebApp for the first time run:
```
docker-compose -f docker-compose-prod.yml up --build -d
```3. To start and stop the server subsequently run (inside src):
- Starting:
```
docker-compose -f docker-compose-prod.yml start
```
- Stopping:
```
docker-compose -f docker-compose-prod.yml stop
```
4. WebApp is available at `localhost` on port 80