See Hadra website for more info about the festival.
Another awesome project scaffolded by the angular-pro Yeoman generator!
- Install required tool
gulp
andbower
:
npm install -g gulp bower
- Install project tools, go to project folder:
npm install
- To build the iOS version, you need to install XCode
- To build the Android version, you need to install the Android SDK
- Launch development server:
gulp serve
- Prepare Cordova platforms and plugins
gulp cordova:prepare
- Run on device
gulp run:<ios|android> --device
gulp/ individual gulp tasks
sources/ project source code
|- data/ other project data, will be copied as-is
|- fonts/ project fonts
|- images/ project images
|- libraries/ Bower dependencies
|- main/ app components
| |- main.config.ts app configuration code
| |- main.constants.ts app configuration constants
| |- main.module.ts app module definition
| |- main.routes.ts app routes
| |- main.run.ts app entry point
| |- main.wrappers.ts AngularJS module wrappers for external libraries
| |- main.scss style entry point
| |- helpers/ helper services
| |- screens/ application screens
| |- shell/ application shell
| |- ui-components/ shared UI components
| |- web-services/ web services
| +- ... additional components
|- translations/ translations files
+- index.html html entry point
e2e/ end-to-end tests
www/ compiled version
typings/ TypeScript definitions
reports/ test and coverage reports
hooks/ Cordova build hooks
platforms/ Cordova platform-specific projects
plugins/ Cordova plugins
resources/ icon and splash screen resources
gulpfile.config.js gulp tasks configuration
Tasks | Description |
---|---|
default | run clean , then build |
serve | Launch a web server with live reload and API proxy, then open app in browser. |
serve:dist | Launch a web server using dist files. |
build | Build and optimize the current project, ready for deployment. This includes linting as well as image, script, stylesheet and HTML optimization and minification. |
clean | Delete temporary files and dist files. |
test | Launch unit tests using karma and jasmine. |
test:auto | Launch karma server and launch unit tests after each change in project files. |
protractor | Launch e2e tests using protractor. |
tsd | Download and update all TypeScript definitions for Bower dependencies. |
When building the application, you can specify the target environment using the flag --environment <name>
.
The default build environment is production
. See this documentation for more details
about multiple build environments management.
Hadra Trance Festival - The Official Mobile Application
Copyright (C) 2016-2018 Yohan Lasorsa (Hadra)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.