-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/kasidev/FDP_calc
- Loading branch information
Showing
6 changed files
with
49 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,21 @@ | ||
# FDP_calc | ||
Responisve flight duty period calculation web app | ||
flight duty period calculation web app | ||
|
||
|
||
# next versions | ||
FDP_calc 0.3: | ||
|
||
☐ implement a simple graphical display of the results | ||
use a gant chart | ||
|
||
☐ Check inputs for consitency | ||
e.g. split duty start before fdp start | ||
|
||
|
||
FDP_calc 0.4: | ||
☐ deploy on azure | ||
|
||
# Version 0.1 | ||
Make Setup for UTC calculation according EASA FDP including the following: | ||
-Calculate ETA respective to checking time and number of legs | ||
-include split duty regulation | ||
-calculate all times with Moment.js and the respective timezone | ||
-calculate all in UTC | ||
|
||
Webapp DEMO VERSION available on http://flightDuty.kasiala.ch/ | ||
|
||
------------------------------------------------ | ||
############################################### | ||
############################################### | ||
############################################### | ||
# Webpack Readme | ||
############################################### | ||
############################################### | ||
############################################### | ||
---------------------------------------------- | ||
|
||
# Wie startest du das Projekt? | ||
|
||
1. npm install | ||
2. npm run start:dev | ||
3. Irgendwo in der Ausgabe wird ausgegeben: Project is running at http://localhost:8081/. | ||
Den Link im Browser öffnen, ggf. in den "public"-Ordner navigieren! Der Port ist aber | ||
ggf. unterschiedlich! | ||
4. `npm run build` baut die Dateien im `production`-Modus! | ||
|
||
# Wie wurde das Projekt erstellt? | ||
|
||
- npm install --save-dev @webpack-cli/init ejs | ||
|
||
- npx webpack-cli init | ||
- SASS benutzen: JA | ||
- Sass ermöglichst uns CSS komfortabler zu schreiben | ||
- Sass wird in normales CSS umgewandelt | ||
|
||
- SASS aktivieren: | ||
- In der index.js-Datei können wir jetzt eine .scss-Datei per require() | ||
einbinden | ||
- Diese wird dann von Webpack automatisch mit Hilfe von SCSS nach CSS | ||
umgewandelt | ||
- Der CSS-Code landet aber standardmäßig mit in unserer .js-Datei | ||
- Daher brauchen wir noch ein Webpack-Plugin: | ||
https://github.com/webpack-contrib/mini-css-extract-plugin | ||
- npm install --save-dev mini-css-extract-plugin | ||
- Und müssen den "style-loader" aus unserer Webpack-Konfiguration entfernen | ||
https://github.com/webpack-contrib/mini-css-extract-plugin/issues/173 | ||
|
||
- Webpack-Dev-Server wurde eingerichtet | ||
- npm install --save-dev webpack-dev-server | ||
- => https://webpack.js.org/configuration/dev-server/ | ||
- Kann über `npm run start:dev` gestartet werden | ||
|
||
- ejs-Loader wurde eingerichtet | ||
- Wenn wir jetzt per require() eine .ejs-Datei einbinden, wird diese automatisch | ||
in eine JavaScript-Funktion umgewandelt! | ||
- => https://www.npmjs.com/package/ejs-loader | ||
I need help to deploy the app on a cloud service like azure or AWS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters