#dotCMS Stater App Build with Appcelerator Titanium a development environment thats allows build, test, package and publish mobile apps for iOS, Android, Blackerry and other SO's using only JavaScript and a single code base.
DotCMS Backend
http://demo30.dotcms.com/c
Username: [email protected]
Password: admin
Load and save content with dotCMS content api:
How to run locally?
Install Xcode an Titanium?
- Download and install xCode from the AppStore.
- Download and install Titanium. Make sure you do all the extra install (node, titanium cli, alloy, etc) when you open Titanium for the first time.
- For Android download and install genymotion simularor way faster that the regular one. More info at: https://wiki.appcelerator.org/display/guides2/Installing+Genymotion
After all the installs are done
git clone https://github.com/dotCMS/dotcms-mobile-app.git
npm install
Run the project in the simulators:
- You can use Titanium Studio
- Or you can use Titanium Command Line Interface:
titanium build --platform <platform> [--build-only] [--force] [--project-dir <value>] [--sdk <value>] [--log-level <level>] [ <platform_build_options> ]
More info at: Titanium Comand Line Interface Documentation
Grunt tasks
Build and upload to Testflight:
grunt tf
Build the iOS .ipa
grunt ios
Build the Android .apk
grunt android
Build the iOS .ipa and Android .apk
grunt build
All the build files are saved in /dist/ folder.
TODO:
- Create a grunt task for run project Android and iOS simulators
- iPad version maybe?
- Add share for Android
- Clean a few things that may be causing some memory leaks according to a new article I read.