the problem were the names of the differente menus, in the api itself they were different then in the application
This is a web application to provide some useful information during your stay at PSI.
Getting Started
Prerequisites
Before proceeding, make sure the latest version of Node.js and npm are installed. See Environment Setup for details. Install the Ionic CLI globally with npm:
npm install -g ionic
Installing
Open console in your project folder and clone the project:
git clone https://git.psi.ch/psiweb/psiapp.git
Open console in your app root folder and install node modules:
npm install
Start the PSI Pocket with the following command:
npm start
Deployment PROD
To deploy the PSI Pocket you have to run the following command:
npm run-script build:prod
Now a folder with the name /www should have been created.
Login via FTP to the following Server:
api.psi.ch
After you logged in, copy all the files except the version.php from /www to /html/psipocket.
Prod is hosted on api.psi.ch as pocket.psi.ch
Deployment QA
To deploy the PSI Pocket you have to run the following command:
npm run-script build:qa
Now a folder with the name /www should have been created.
Login via FTP to the following Server:
api.psi.ch
After you logged in, copy all the files except the version.php from /www to /html/psipocket-qa.
QA is hosted on api.psi.ch as pocket-qa.psi.ch
Built With
-
Ionic 4 - The web framework used
-
Leaflet - An open-source JavaScript library for mobile-friendly interactive maps
-
ngx-echarts - Angular directive for echarts
-
ngx-pinch-zoom - Images zoom in/out
-
WeatherWidget.io - A free, customizable, responsive weather widget
Versioning
We use GitLab for versioning. For the versions available, see the tags on this repository.
Authors
- José Pedro Lima Marques - core product - psiapp
License
This project is licensed under the MIT License - see the LICENSE.md file for details# PSI Pocket
