These are chat archives for edbirmingham/network

26th
Oct 2015
Anthony Crumley
@anthonycrumley
Oct 26 2015 01:26

Running "jshint:all" (jshint) task

80 files lint free.

Running "csslint:all" (csslint) task

2 files lint free.

Anthony Crumley
@anthonycrumley
Oct 26 2015 02:53
@saabdoli Hey
saabdoli
@saabdoli
Oct 26 2015 02:53
hey
ill try that
Anthony Crumley
@anthonycrumley
Oct 26 2015 02:58
Cool, let me know if it works. I sent an email too because I was not sure you were in here.
@saabdoli I would recommend creating a new workspace too.
saabdoli
@saabdoli
Oct 26 2015 03:00
ok, I will do that
when I just tried on the previous, it still failed
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:01
yeah, just create a new workspace and go through the instructions again.
Be sure to refresh the readme to get the change.
saabdoli
@saabdoli
Oct 26 2015 03:07
@anthonycrumley Everything is working perfectly. I can preview the app now.
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:07
Awesome!!
saabdoli
@saabdoli
Oct 26 2015 03:10
@anthonycrumley So next, I should create a branch, generate a CRUD module for Network Members, and eventually commit?
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:10
Yes.
I would just call them memberin the crud generate command.
It will pluralize where it needs to.
saabdoli
@saabdoli
Oct 26 2015 03:11
OK.
saabdoli
@saabdoli
Oct 26 2015 03:19
@anthonycrumley When it asks me to choose which mean.js version to generate, should I select the Master?
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:23
I am looking
What is asking you that?
saabdoli
@saabdoli
Oct 26 2015 03:26
yo generator
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:27
What are the options?
saabdoli
@saabdoli
Oct 26 2015 03:28
Master, 0.4.0, 0.4.1
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:32
It is non of the above. Apparently we started right before a major upgrade.
saabdoli
@saabdoli
Oct 26 2015 03:33
Uh oh
saabdoli
@saabdoli
Oct 26 2015 03:41
What do you suppose are our options?
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:52
Ok, ctrl-c out of the generator.
Then do npm remove -g generator-meanjs
Then npm install -g generator-meanjs@0.1.12
Then run the generator again
saabdoli
@saabdoli
Oct 26 2015 03:54
installing now
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:55
When running the generator I hit enter on all the questions
? Which supplemental folders would you like to include in your angular module? 
? Would you like to add the CRUD module links to a menu? Yes
? What is your menu identifier(Leave it empty and press ENTER for the default "topbar" menu)? topbar
   create app/controllers/members.server.controller.js
   create app/models/member.server.model.js
   create app/routes/members.server.routes.js
   create app/tests/member.server.model.test.js
   create app/tests/member.server.routes.test.js
   create public/modules/members/config/members.client.routes.js
   create public/modules/members/controllers/members.client.controller.js
   create public/modules/members/services/members.client.service.js
   create public/modules/members/tests/members.client.controller.test.js
   create public/modules/members/config/members.client.config.js
   create public/modules/members/views/create-member.client.view.html
   create public/modules/members/views/edit-member.client.view.html
   create public/modules/members/views/list-members.client.view.html
   create public/modules/members/views/view-member.client.view.html
   create public/modules/members/members.client.module.js
saabdoli
@saabdoli
Oct 26 2015 03:56
ok, it looks like its been generated
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:56
Cool.
The javascript world changes fast these days.
saabdoli
@saabdoli
Oct 26 2015 03:58
That generator seems to do a lot of heavy lifting.
Anthony Crumley
@anthonycrumley
Oct 26 2015 03:59
It does. We have to go through each file and decide if all the things it does makes sense.
It is past my bed time. :) See ya.
saabdoli
@saabdoli
Oct 26 2015 04:00
Have a good night. Thanks for the help!
Anthony Crumley
@anthonycrumley
Oct 26 2015 04:00
You are welcome.
saabdoli
@saabdoli
Oct 26 2015 22:55
@anthonycrumley I was thinking about the Member schema. Would it be a new schema with participant fields + additional member fields, or would it be using the Particpant schema with a boolean identifying whether the Participant is also a Member?