Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modify seed for createcore

  • Loading branch information...
commit b5e5471052ba280db022931cc6a2fc8a827c4694 1 parent 35b7d5a
@ldayan authored
View
2  .cordova/config.json
@@ -1 +1 @@
-{"lib":{"www":{"id":"phonegap","version":"3.3.0","uri":"https://github.com/phonegap/phonegap-app-hello-world/archive/3.3.0.tar.gz"}},"id":"com.example.app","name":"Demo"}
+{"lib":{"www":{"id":"phonegap","version":"3.3.0","uri":"https://github.com/phonegap/phonegap-app-hello-world/archive/3.3.0.tar.gz"}},"id":"com.createcore.appnameapp","name":"AppName"}
View
33 .gitignore
@@ -8,3 +8,36 @@ www
.*
platforms/
plugins/
+
+# Created by http://www.gitignore.io
+
+### WebStorm ###
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode
+
+## Directory-based project format
+.idea/
+# if you remove the above rule, at least ignore user-specific stuff:
+# .idea/workspace.xml
+# .idea/tasks.xml
+# and these sensitive or high-churn files:
+# .idea/dataSources.ids
+# .idea/dataSources.xml
+# .idea/sqlDataSources.xml
+# .idea/dynamic.xml
+
+## File-based project format
+*.ipr
+*.iws
+*.iml
+
+## Additional for IntelliJ
+out/
+
+# generated by mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# generated by JIRA plugin
+atlassian-ide-plugin.xml
+
+# generated by Crashlytics plugin (for Android Studio and Intellij)
+com_crashlytics_export_strings.xml
View
5 README.md
@@ -7,6 +7,11 @@ This repository is a simple seed to get started on a new mobile project using Ye
## How to use it
+- Modify any instances of 'AppName' in the code to reflect the actual app name, preserving case. For instance, in the .cordova/config.json file "appnameapp" would become "leanmealsapp", and "AppName" becomes "LeanMeals".
+- Modify app/config.xml appropriately.
+- Modify package.json appropriately.
+- Modify bower.json appropriately.
+
- `git clone https://github.com/MNCC/yeoman-ionic-angular-phonegap-seed`
- `cd yeoman-ionic-angular-phonegap-seed`
- `npm install`
View
4 app/config.xml
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
-<widget id="com.example.app" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
- <name>Demo</name>
+<widget id="com.createcore.appnameapp" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
+ <name>AppName</name>
<description>
Hello World sample application that responds to the deviceready event.
</description>
View
2  app/index.html
@@ -16,7 +16,7 @@
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->
</head>
- <body ng-app="yeomanIonicAngularPhonegapSeedApp">
+ <body ng-app="appNameApp">
<div ng-controller="MenuCtrl">
<side-menus>
<pane side-menu-content>
View
2  app/scripts/app.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('yeomanIonicAngularPhonegapSeedApp', [
+angular.module('appNameApp', [
'ngCookies',
'ngResource',
'ngRoute',
View
2  app/scripts/controllers/main.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('yeomanIonicAngularPhonegapSeedApp')
+angular.module('appNameApp')
.controller('MainCtrl', ['$scope', 'Countries', function ($scope, Countries) {
$scope.onRefresh = function() {
Countries.load().then(function(datas) {
View
2  app/scripts/controllers/menu.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('yeomanIonicAngularPhonegapSeedApp').controller('MenuCtrl', ['$scope', function ($scope) {
+angular.module('appNameApp').controller('MenuCtrl', ['$scope', function ($scope) {
$scope.openLeft = function() {
$scope.sideMenuController.toggleLeft();
};
View
2  app/scripts/services/backend.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('yeomanIonicAngularPhonegapSeedApp')
+angular.module('appNameApp')
.value('serverUrl', 'http://www.geognos.com/api/en/countries/info/all.json')
View
2  app/scripts/services/countries.js
@@ -1,6 +1,6 @@
'use strict';
-angular.module('yeomanIonicAngularPhonegapSeedApp')
+angular.module('appNameApp')
.service('Countries', ['backend', function (backend) {
return {
load: function () {
View
2  package.json
@@ -3,7 +3,7 @@
"private": false,
"version": "0.0.1",
"codename": "alpha",
- "repository": "https://github.com/MNCC/yeoman-ionic-angular-phonegap-seed",
+ "repository": "https://github.com/ldayan/yeoman-ionic-angular-phonegap-seed",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.2",
View
2  test/spec/controllers/main.js
@@ -3,7 +3,7 @@
describe('Controller: MainCtrl', function () {
// load the controller's module
- beforeEach(module('yeomanIonicAngularPhonegapSeedApp'));
+ beforeEach(module('appNameApp'));
var MainCtrl,
scope;
View
2  test/spec/controllers/menu.js
@@ -3,7 +3,7 @@
describe('Controller: MenuCtrl', function () {
// load the controller's module
- beforeEach(module('yeomanIonicAngularPhonegapSeedApp'));
+ beforeEach(module('appNameApp'));
var MenuCtrl,
scope;
View
2  test/spec/services/backend.js
@@ -3,7 +3,7 @@
describe('Service: backend', function () {
// load the service's module
- beforeEach(module('yeomanIonicAngularPhonegapSeedApp'));
+ beforeEach(module('appNameApp'));
// instantiate service
var backend;
View
2  test/spec/services/countries.js
@@ -3,7 +3,7 @@
describe('Service: Countries', function () {
// load the service's module
- beforeEach(module('yeomanIonicAngularPhonegapSeedApp'));
+ beforeEach(module('appNameApp'));
// instantiate service
var Countries;
Please sign in to comment.
Something went wrong with that request. Please try again.