You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,17 +30,30 @@ Fourth, uncompress the zip file, and copy the following files and directories in
30
30
* config/
31
31
* .gitignore
32
32
33
-
You don't need to copy the README.md file (you should write your own), and you don't need to copy the doc/ directory (it contains only screenshots displayed in this page of documentation.)
33
+
You don't need to copy the README.md or index.md files (you should write your own), and you don't need to copy the doc/ directory (it contains only screenshots displayed in this page of documentation.)
34
+
35
+
Now your local repo should contain the template. To test that everything is OK, cd into the app directory install the required libraries with:
34
36
35
-
Now your local repo should contain the template. To test that everything is OK, cd into the app directory and run the application with the following two commands:
36
37
37
38
```
38
39
$ meteor npm install
40
+
meteor npm install --save babel-runtime
41
+
```
42
+
43
+
Once the libraries are installed, you can run the application by invoking the ["start" script in the package.json file](https://github.com/ics-software-engineering/meteor-application-template/blob/master/app/package.json#L5):
44
+
45
+
```
39
46
$ meteor npm run start
40
47
```
41
48
42
49
If all goes well, the template application will appear at [http://localhost:3000](http://localhost:3000). You can login using the credentials in [settings.development.json](https://github.com/ics-software-engineering/meteor-application-template/blob/master/config/settings.development.json), or else register a new account.
43
50
51
+
Lastly, you can run ESLint over the code in the imports/ directory with:
52
+
53
+
```
54
+
meteor npm run lint
55
+
```
56
+
44
57
## Walkthrough
45
58
46
59
The following sections describe the major features of this template.
@@ -145,27 +158,6 @@ This system adopts the following naming conventions:
145
158
146
159
### Preinstalled packages
147
160
148
-
This application includes a number of additional packages useful for development. Here is a recent output of `meteor list`, with base packages removed.
149
-
150
-
```
151
-
accounts-password 1.3.0 Password support for accounts
152
-
accounts-ui 1.1.9 Simple templates to add login widgets to an app
153
-
aldeed:autoform 5.8.1 Easily create forms with automatic insert and update.
154
-
aldeed:collection2 2.10.0 Automatic validation of insert/update operations on client and server.
155
-
arillo:flow-router-helpers 0.5.2 Template helpers for flow-router
156
-
autopublish 1.0.7 (For prototyping only) Publish the entire database to all clients
157
-
check 1.2.3 Check whether a value matches a pattern
158
-
fabienb4:autoform-semantic-ui 0.9.3 Semantic-ui template for aldeed:autoform package.
159
-
insecure 1.0.7 (For prototyping only) Allow all database writes from the client
160
-
juliancwirko:postcss 1.1.1 Minifier for Meteor with PostCSS processing
161
-
kadira:blaze-layout 2.3.0 Layout Manager for Blaze (works well with FlowRouter)
162
-
kadira:flow-router 2.12.1 Carefully Designed Client Side Router for Meteor
163
-
less 2.7.5 Leaner CSS language
164
-
sacha:spin 2.3.1 Simple spinner package for Meteor
165
-
semantic:ui 2.2.1 Official Semantic UI Integration for Meteor
166
-
zimme:active-route 2.3.2 Active route helpers
167
-
```
168
-
169
161
In a nutshell, meteor-application-template includes support for:
170
162
171
163
* Forms (autoform, collection2, check, autoform-semantic-ui )
@@ -175,7 +167,6 @@ In a nutshell, meteor-application-template includes support for:
175
167
176
168
It does not provide security (both autopublish and insecure packages) remain enabled. This is intentional.
177
169
178
-
179
170
### Application functionality
180
171
181
172
The application implements a simple CRUD application for managing "Stuff", which is a Mongo Collection consisting of a name (String) and a quantity (Number). There are four pages, each implemented by a template in the imports/ui/pages directory.
@@ -239,6 +230,8 @@ To implement the Add Stuff and Edit Stuff pages, the application uses [AutoForm]
239
230
240
231
To present the forms, the application uses the quickform component. See [imports/ui/pages/add-stuff-page.html](https://github.com/ics-software-engineering/meteor-application-template/blob/master/app/imports/ui/pages/add-stuff-page.html) and [imports/ui/pages/edit-stuff-page.html](https://github.com/ics-software-engineering/meteor-application-template/blob/master/app/imports/ui/pages/edit-stuff-page.html).
241
232
233
+
See [meteor-example-form](https://ics-software-engineering.github.io/meteor-example-form/) for a more sophisticated approach.
234
+
242
235
### Authentication
243
236
244
237
For authentication, the application uses the Meteor accounts-ui package, with some simple customization in [imports/startup/both/accounts-config.js](https://github.com/ics-software-engineering/meteor-application-template/blob/master/app/imports/startup/both/accounts-config.js).
@@ -280,7 +273,7 @@ It's significantly easier to do development with ESLint integrated directly into
280
273
281
274
## Screencast
282
275
283
-
Click the image below to watch a 27 minute walkthrough of this system.
276
+
Click the image below to watch a 27 minute walkthrough of this system. This screencast was generated for a previous version of meteor-application-template, so there may be small differences in the code base.
0 commit comments