Commit c6f9c2127c6e1ac9e6b23da5dcf721651972dce3
Exists in
master
Merge branch 'feature/update_meteor_1.0.2.1'
Showing
3 changed files
Show diff stats
.meteor/release
1 | METEOR@1.0.2 | 1 | METEOR@1.0.2.1 |
2 | 2 |
.meteor/versions
1 | accounts-base@1.1.3 | 1 | accounts-base@1.1.3 |
2 | accounts-password@1.0.5 | 2 | accounts-password@1.0.5 |
3 | application-configuration@1.0.4 | 3 | application-configuration@1.0.4 |
4 | audit-argument-checks@1.0.2 | 4 | audit-argument-checks@1.0.2 |
5 | autoupdate@1.1.4 | 5 | autoupdate@1.1.4 |
6 | base64@1.0.2 | 6 | base64@1.0.2 |
7 | binary-heap@1.0.2 | 7 | binary-heap@1.0.2 |
8 | blaze@2.0.4 | 8 | blaze@2.0.4 |
9 | blaze-tools@1.0.2 | 9 | blaze-tools@1.0.2 |
10 | boilerplate-generator@1.0.2 | 10 | boilerplate-generator@1.0.2 |
11 | callback-hook@1.0.2 | 11 | callback-hook@1.0.2 |
12 | check@1.0.3 | 12 | check@1.0.3 |
13 | cmather:handlebars-server@2.0.0 | 13 | cmather:handlebars-server@2.0.0 |
14 | ddp@1.0.13 | 14 | ddp@1.0.13 |
15 | deps@1.0.6 | 15 | deps@1.0.6 |
16 | ejson@1.0.5 | 16 | ejson@1.0.5 |
17 | email@1.0.5 | 17 | email@1.0.5 |
18 | fastclick@1.0.2 | 18 | fastclick@1.0.2 |
19 | follower-livedata@1.0.3 | 19 | follower-livedata@1.0.3 |
20 | geojson-utils@1.0.2 | 20 | geojson-utils@1.0.2 |
21 | handlebars@1.0.2 | 21 | handlebars@1.0.2 |
22 | html-tools@1.0.3 | 22 | html-tools@1.0.3 |
23 | htmljs@1.0.3 | 23 | htmljs@1.0.3 |
24 | http@1.0.9 | 24 | http@1.0.9 |
25 | id-map@1.0.2 | 25 | id-map@1.0.2 |
26 | iron:controller@1.0.6 | 26 | iron:controller@1.0.6 |
27 | iron:core@1.0.6 | 27 | iron:core@1.0.6 |
28 | iron:dynamic-template@1.0.6 | 28 | iron:dynamic-template@1.0.6 |
29 | iron:layout@1.0.6 | 29 | iron:layout@1.0.6 |
30 | iron:location@1.0.6 | 30 | iron:location@1.0.6 |
31 | iron:middleware-stack@1.0.6 | 31 | iron:middleware-stack@1.0.6 |
32 | iron:router@1.0.6 | 32 | iron:router@1.0.6 |
33 | iron:url@1.0.6 | 33 | iron:url@1.0.6 |
34 | jquery@1.0.2 | 34 | jquery@1.0.2 |
35 | json@1.0.2 | 35 | json@1.0.2 |
36 | launch-screen@1.0.1 | 36 | launch-screen@1.0.1 |
37 | livedata@1.0.12 | 37 | livedata@1.0.12 |
38 | localstorage@1.0.2 | 38 | localstorage@1.0.2 |
39 | logging@1.0.6 | 39 | logging@1.0.6 |
40 | meteor@1.1.4 | 40 | meteor@1.1.4 |
41 | meteor-platform@1.2.1 | 41 | meteor-platform@1.2.1 |
42 | minifiers@1.1.3 | 42 | minifiers@1.1.3 |
43 | minimongo@1.0.6 | 43 | minimongo@1.0.6 |
44 | mobile-status-bar@1.0.2 | 44 | mobile-status-bar@1.0.2 |
45 | mongo@1.0.10 | 45 | mongo@1.0.11 |
46 | npm-bcrypt@0.7.7 | 46 | npm-bcrypt@0.7.7 |
47 | observe-sequence@1.0.4 | 47 | observe-sequence@1.0.4 |
48 | ordered-dict@1.0.2 | 48 | ordered-dict@1.0.2 |
49 | particle4dev:sass@0.3.0 | 49 | particle4dev:sass@0.3.0 |
50 | random@1.0.2 | 50 | random@1.0.2 |
51 | reactive-dict@1.0.5 | 51 | reactive-dict@1.0.5 |
52 | reactive-var@1.0.4 | 52 | reactive-var@1.0.4 |
53 | reload@1.1.2 | 53 | reload@1.1.2 |
54 | retry@1.0.2 | 54 | retry@1.0.2 |
55 | routepolicy@1.0.3 | 55 | routepolicy@1.0.3 |
56 | service-configuration@1.0.3 | 56 | service-configuration@1.0.3 |
57 | session@1.0.5 | 57 | session@1.0.5 |
58 | sha@1.0.2 | 58 | sha@1.0.2 |
59 | spacebars@1.0.4 | 59 | spacebars@1.0.4 |
60 | spacebars-compiler@1.0.4 | 60 | spacebars-compiler@1.0.4 |
61 | srp@1.0.2 | 61 | srp@1.0.2 |
62 | standard-app-packages@1.0.4 | 62 | standard-app-packages@1.0.4 |
63 | templating@1.0.10 | 63 | templating@1.0.10 |
64 | themeteorchef:jquery-validation@1.13.1 | 64 | themeteorchef:jquery-validation@1.13.1 |
65 | tracker@1.0.4 | 65 | tracker@1.0.4 |
66 | twbs:bootstrap@3.3.1_2 | 66 | twbs:bootstrap@3.3.1_2 |
67 | ui@1.0.5 | 67 | ui@1.0.5 |
68 | underscore@1.0.2 | 68 | underscore@1.0.2 |
69 | url@1.0.3 | 69 | url@1.0.3 |
70 | webapp@1.1.5 | 70 | webapp@1.1.5 |
71 | webapp-hashing@1.0.2 | 71 | webapp-hashing@1.0.2 |
72 | 72 |
README.md
1 | # The Meteor Chef - Base (@1.0.2) | 1 | # The Meteor Chef - Base (@1.0.2.1) |
2 | A starting point for Meteor apps. | 2 | A starting point for Meteor apps. |
3 | 3 | ||
4 | Base is the lazy person's starter kit for Meteor. It includes some commonly used packages (biased to The Meteor Chef) and code for common functionality. This is the starter kit for all Meteor Chef recipes. | 4 | Base is the lazy person's starter kit for Meteor. It includes some commonly used packages (biased to The Meteor Chef) and code for common functionality. This is the starter kit for all Meteor Chef recipes. |
5 | 5 | ||
6 | For more detail on updates, [read the Changelog](https://github.com/themeteorchef/base/wiki/Changelog). | 6 | For more detail on updates, [read the Changelog](https://github.com/themeteorchef/base/wiki/Changelog). |
7 | 7 | ||
8 | ### Packages Included | 8 | ### Packages Included |
9 | - Accounts (Base) - `meteor add accounts-base` | 9 | - Accounts (Base) - `meteor add accounts-base` |
10 | - Accounts (Password) - `meteor add accounts-password` | 10 | - Accounts (Password) - `meteor add accounts-password` |
11 | - Audit Argument Checks - `meteor add audit-argument-checks` | 11 | - Audit Argument Checks - `meteor add audit-argument-checks` |
12 | - Bootstrap 3 - `meteor add twbs:bootstrap` | 12 | - Bootstrap 3 - `meteor add twbs:bootstrap` |
13 | - Check - `meteor add check` | 13 | - Check - `meteor add check` |
14 | - Handlebars Server - `meteor add cmather:handlebars-server` | 14 | - Handlebars Server - `meteor add cmather:handlebars-server` |
15 | - Iron Router - `meteor add iron:router` | 15 | - Iron Router - `meteor add iron:router` |
16 | - jQuery - `meteor add jquery` | 16 | - jQuery - `meteor add jquery` |
17 | - jQuery Validation - `meteor add themeteorchef:jquery-validation` | 17 | - jQuery Validation - `meteor add themeteorchef:jquery-validation` |
18 | - Sass - `meteor add particle4dev:sass@0.3.0` | 18 | - Sass - `meteor add particle4dev:sass@0.3.0` |
19 | - Underscore - `meteor add underscore` | 19 | - Underscore - `meteor add underscore` |
20 | 20 | ||
21 | ### File Structure | 21 | ### File Structure |
22 | Base comes with a pre-defined file structure common to all projects along with some skeleton files for getting started quickly. Here's what it looks like: | 22 | Base comes with a pre-defined file structure common to all projects along with some skeleton files for getting started quickly. Here's what it looks like: |
23 | 23 | ||
24 | ``` | 24 | ``` |
25 | /root | 25 | /root |
26 | ---/.meteor | 26 | ---/.meteor |
27 | ---/client | 27 | ---/client |
28 | ------/controllers | 28 | ------/controllers |
29 | ---------/authenticated | 29 | ---------/authenticated |
30 | ------------header.js | 30 | ------------header.js |
31 | ---------/public | 31 | ---------/public |
32 | ------------login.js | 32 | ------------login.js |
33 | ------------recover-password.js | 33 | ------------recover-password.js |
34 | ------------reset-password.js | 34 | ------------reset-password.js |
35 | ------------signup.js | 35 | ------------signup.js |
36 | ------/helpers | 36 | ------/helpers |
37 | ---------helpers-ui.js | 37 | ---------helpers-ui.js |
38 | ------/includes | 38 | ------/includes |
39 | ---------_header.html | 39 | ---------_header.html |
40 | ------/layouts | 40 | ------/layouts |
41 | ---------layout-default.html | 41 | ---------layout-default.html |
42 | ------/routes | 42 | ------/routes |
43 | ---------filters.js | 43 | ---------filters.js |
44 | ---------routes-authenticated.js | 44 | ---------routes-authenticated.js |
45 | ---------routes-global.js | 45 | ---------routes-global.js |
46 | ---------routes-public.js | 46 | ---------routes-public.js |
47 | ------/stylesheets | 47 | ------/stylesheets |
48 | ---------/sass | 48 | ---------/sass |
49 | ------------/globals | 49 | ------------/globals |
50 | ---------------_extends.scss | 50 | ---------------_extends.scss |
51 | ------------/views | 51 | ------------/views |
52 | ---------------/public | 52 | ---------------/public |
53 | ------------------_login.scss | 53 | ------------------_login.scss |
54 | ---------application.scss | 54 | ---------application.scss |
55 | -------/views | 55 | -------/views |
56 | ---------/authenticated | 56 | ---------/authenticated |
57 | ------------index.html | 57 | ------------index.html |
58 | ---------/public | 58 | ---------/public |
59 | ------------login.html | 59 | ------------login.html |
60 | ------------not-found.html | 60 | ------------not-found.html |
61 | ------------recover-password.html | 61 | ------------recover-password.html |
62 | ------------reset-password.html | 62 | ------------reset-password.html |
63 | ------------signup.html | 63 | ------------signup.html |
64 | ---/collections | 64 | ---/collections |
65 | ------example.js | 65 | ------example.js |
66 | ---/packages | 66 | ---/packages |
67 | ------ (See List Above) | 67 | ------ (See List Above) |
68 | ---/public | 68 | ---/public |
69 | ---/server | 69 | ---/server |
70 | ------/admin | 70 | ------/admin |
71 | ---------startup.js | 71 | ---------startup.js |
72 | 72 | ||
73 | ---------/templates | 73 | ---------/templates |
74 | ------------reset-password.js | 74 | ------------reset-password.js |
75 | ------/publications | 75 | ------/publications |
76 | ``` | 76 | ``` |
77 | 77 | ||
78 | ### JavaScript & CSS | 78 | ### JavaScript & CSS |
79 | Prior to v2.0.0, Base was written in CoffeeScript. At the request of the community, Base was ported _back_ to native JavaScript. | 79 | Prior to v2.0.0, Base was written in CoffeeScript. At the request of the community, Base was ported _back_ to native JavaScript. |
80 | 80 | ||
81 | CSS in Base is written using [Sass](http://sass-lang.com). | 81 | CSS in Base is written using [Sass](http://sass-lang.com). |
82 | 82 | ||
83 | ### Functionality | 83 | ### Functionality |
84 | 84 | ||
85 | ###### Bootstrap (@3.2.1) | 85 | ###### Bootstrap (@3.2.1) |
86 | Base makes use of the [Bootstrap](http://getbootstrap.com) front-end Framework. It may not be your bag of chips and is *definitely not required*. If you want to swap it out, you'll need to unhook the markup in each of the included template files in `/client/views` and uninstall the `pinglamb:bootstrap3` package by running `meteor remove pinglamb:bootstrap3` in your terminal. | 86 | Base makes use of the [Bootstrap](http://getbootstrap.com) front-end Framework. It may not be your bag of chips and is *definitely not required*. If you want to swap it out, you'll need to unhook the markup in each of the included template files in `/client/views` and uninstall the `pinglamb:bootstrap3` package by running `meteor remove pinglamb:bootstrap3` in your terminal. |
87 | 87 | ||
88 | In respect to UI, Base uses Bootstrap's `.navbar` element, as well as its `.container` and a few `.row`/`.col-<size>-<columns>` wrappers. You'll also find the `.btn` class and its modifiers (`.success, .warning, etc.`) in use throughout the app. All of these implementations are merely presentational and can be changed (or removed) as you see fit. | 88 | In respect to UI, Base uses Bootstrap's `.navbar` element, as well as its `.container` and a few `.row`/`.col-<size>-<columns>` wrappers. You'll also find the `.btn` class and its modifiers (`.success, .warning, etc.`) in use throughout the app. All of these implementations are merely presentational and can be changed (or removed) as you see fit. |
89 | 89 | ||
90 | ###### Basic Routing | 90 | ###### Basic Routing |
91 | Base comes with a collection of pre-defined routes and templates for common functionality. Base also includes a set of common route filters for managing user access. Routes bundled include: | 91 | Base comes with a collection of pre-defined routes and templates for common functionality. Base also includes a set of common route filters for managing user access. Routes bundled include: |
92 | 92 | ||
93 | ``` | 93 | ``` |
94 | - / (Authenticated) | 94 | - / (Authenticated) |
95 | - /login (Public) | 95 | - /login (Public) |
96 | - /recover-password (Public) | 96 | - /recover-password (Public) |
97 | - /reset-password (Public) | 97 | - /reset-password (Public) |
98 | - /signup (Public) | 98 | - /signup (Public) |
99 | ``` | 99 | ``` |
100 | 100 | ||
101 | A UI helper called `currentRoute` has been added to Base which allows you to add an `active` class to menu items in your navigation to reflect the user's current location. | 101 | A UI helper called `currentRoute` has been added to Base which allows you to add an `active` class to menu items in your navigation to reflect the user's current location. |
102 | 102 | ||
103 | ###### Authentication | 103 | ###### Authentication |
104 | Base includes a complete authentication pattern complete with: | 104 | Base includes a complete authentication pattern complete with: |
105 | 105 | ||
106 | - Login (at /login) | 106 | - Login (at /login) |
107 | - Logout (no path, implemented as a dropdown item/click event in /client/controllers/header.js) | 107 | - Logout (no path, implemented as a dropdown item/click event in /client/controllers/header.js) |
108 | - Password Recovery (at /recover-password and /reset-password) | 108 | - Password Recovery (at /recover-password and /reset-password) |
109 | - Signup (at /signup) | 109 | - Signup (at /signup) |
110 | 110 | ||
111 | ###### Validation | 111 | ###### Validation |
112 | Base includes support for client-side validation via [jQuery Validation](http://jqueryvalidation.org). Validation is provided for all public templates: login, signup, recover password, and reset password. | 112 | Base includes support for client-side validation via [jQuery Validation](http://jqueryvalidation.org). Validation is provided for all public templates: login, signup, recover password, and reset password. |
113 | 113 | ||
114 | ###### Automatic Admin User Creation | 114 | ###### Automatic Admin User Creation |
115 | When developing, having a handful of user accounts to test your application with can come in handy. Base comes with an automated account generation script located in `server/admin/startup.js` that creates accounts based on an array of specified users. **Note: by default this creates one Admin user on server startup, so make sure to customize or remove this user so the public can't access your app**. | 115 | When developing, having a handful of user accounts to test your application with can come in handy. Base comes with an automated account generation script located in `server/admin/startup.js` that creates accounts based on an array of specified users. **Note: by default this creates one Admin user on server startup, so make sure to customize or remove this user so the public can't access your app**. |
116 | 116 |