Skip to content

Commit

Permalink
1.5 , updated timeouts for testing and small clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenPioneer committed Dec 31, 2016
1 parent 060a65a commit 2d6faef
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 17 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Why Mean Stack JS
-----------------

Do you need a full stack solution that is easy to build and all javascript? Then you're in the right place with Mean Stack JS. There is no steep learning curve and it only takes an average of 10 minutes to get your base code up and running. We've made the development process as simple and scalable as possible. This is perfect for anyone involved in software development, including User Experience Designers, Quality Assurance Engineers, Software Engineers, Frontend Developers, Backend Developers and Full Stack Engineers.
The best developers want to be efficient and productive, quickly prototyping and experimenting, able to build successes into production-ready applications. We believe Mean Stack JS gives developers of all skill levels—whether at enterprise scale or working solo—an ideal open-source toolset for building rapid, scalable Javascript applications. We'll provide you a simple project structure that is versatile enough to quickly apply to your own development projects. Want to get started?


How to Learn Mean Stack JS
Expand All @@ -29,6 +29,7 @@ Start visualizing what the meanstack can do for you with our demo

Check out this YouTube channel that has content to help you:
* [Subscribe to our Youtube Channel - MeanStackJs](https://www.youtube.com/channel/UC5lpSv5tNowgWxC9crTl97g)
* [Watch MeanStackJS - Releases](https://www.youtube.com/playlist?list=PLhJ-Q2setTdrhK1m0F1lUfZsIzBbw6wny)
* [Watch MeanStackJS - How to series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdqgwW6U39s_oMAehgtXa15O)
* [Watch MeanStackJS - Error series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdr19ha6bx7jt6Bu2RCM5c5_)
* [Watch MeanStackJS - What is series](https://www.youtube.com/playlist?list=PLhJ-Q2setTdpkHfA-mDMSjl4Wv-trKlY8)
Expand All @@ -41,7 +42,8 @@ For the Api version, start here instead:

Want more content?
* [LiveCoding.TV](https://www.livecoding.tv/greenpioneer/)
* [Style Guide](https://github.com/greenpioneersolutions/gps-style-guide)
* [GPS Style Guide](https://github.com/greenpioneersolutions/gps-style-guide)
* [GPS Setup Guide](https://github.com/greenpioneersolutions/gps-setup-guide)
* [Roadmap](https://github.com/greenpioneersolutions/meanstackjs/wiki/Roadmap)

What is Mean Stack JS?
Expand Down Expand Up @@ -102,13 +104,6 @@ node index.js
nodemon index.js
```

**Note:** We highly recommend installing [Nodemon](https://github.com/remy/nodemon).
It watches for any changes in your node.js app and automatically restarts the
server. Once installed, instead of `node index.js` use `nodemon index.js`. It will
save you a lot of time in the long run, because you won't need to manually
restart the server each time you make a small change in code. To install, run
`sudo npm install -g nodemon`.

[Check Documentation Here](https://github.com/greenpioneersolutions/meanstackjs/wiki)

[Check Demo Here](https://meanstackjs.herokuapp.com/)
Expand Down
1 change: 1 addition & 0 deletions client/modules/blog/blog.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ describe('BLOG Testing', function () {
describe('routes', function () {
var states = {}
beforeEach(inject(function ($state) {
this.timeout(1000)
states.list = $state.get('list')
states.view = $state.get('view')
states.create = $state.get('create')
Expand Down
2 changes: 1 addition & 1 deletion commands/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function ask () {
case 'Start Selenium Server':
shell.exec('node_modules/.bin/selenium-standalone start', {silent: false}, logShellJS)
break
case 'Install Selenuim Server':
case 'Install Selenium Server':
shell.exec('node_modules/.bin/selenium-standalone install', {silent: false}, logShellJS)
break
case 'Start Mongod':
Expand Down
2 changes: 1 addition & 1 deletion commands/questions.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
'Install Bower Dependencies',
'Install MongoDB',
'Install NodeJS',
'Install Selenuim Server',
'Install Selenium Server',
'Lint Code',
'Lint & Fix Code',
'Mean Stack JS Install Dependencies',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "meanstackjs",
"version": "1.4.1",
"description": "The best developers want to be efficient and productive, quickly prototyping and experimenting, able to build successes into production-ready applications. We believe Mean Stack JS gives developers of all skill levels—whether at enterprise scale or working solo—an ideal open-source toolset for building rapid, scalable Javascript applications. We'll provide you a simple project structure that is versatile enough to quickly apply to your own development projects. Want to get started?",
"version": "1.5.0",
"description": "Mean Stack JS is an enterprise ready full stack JavaScript solution using MongoDB, ExpressJs, AngularJs, and NodeJs. Providing a simple project structure to quickly build prototypes into production ready applications for modern agile development teams.",
"main": "index.js",
"standard": {
"globals": [
Expand Down
4 changes: 2 additions & 2 deletions run.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ process.on('uncaughtException', function (err) {
break
}
// Our Custom Error Handler
error.log(err, function (err) {
if (err)console.log('Error in log function in errors.js')
error.log(err, function (logErr) {
if (logErr)console.log('Error in log function in errors.js')
// How do you want to handle your errors ? email admin , exit process or nothing at all ?
process.exit(1)
// var settings = require('./configs/settings.js').get()
Expand Down
2 changes: 1 addition & 1 deletion tests/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {

// controls the timeout time for async hooks. Expects the done() callback to be invoked within this time
// or an error is thrown
asyncHookTimeout: 10000,
asyncHookTimeout: 20000,

before: function (done) {
run(MeanStack, function (err) {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/mocha.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var Mean = require('../../server.mean.js')
var run = require('../../run.js')
describe('MEANSTACKJS API Testing', function () {
before(function (done) {
this.timeout(10000)
this.timeout(20000)
run(Mean, function () {
require('../seed.js')(function () {
done()
Expand Down

0 comments on commit 2d6faef

Please sign in to comment.