GithubHelp home page GithubHelp logo

example's Introduction

Simple total.js website example

  • install MongoDB module npm install mongodb
  • install MongoBuilder module npm install sqlagent
  • install total.js npm install total.js
  • open terminal and write node debug.js

Do you need some advanced functionality?

Contact me on [email protected] or create new issue.

Run Docker

With compose

npm install docker-compose up -d

With Image

Build Image docker build -t totaljs/example .

Run Image docker run -p 49160:8000 -d totaljs/example

http://localhost:8000/

example's People

Contributors

nmathar avatar petersirka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

example's Issues

Signin Issue

screen shot 2016-01-03 at 8 05 45 pm

[TypeError: Cannot read property 'collection' of null]
======= 2016-01-03 20:03:45: TypeError: Cannot read property 'collection' of null TypeError: Cannot read property 'collection' of null
at EventEmitter.F.database (/Users/toto/example-master/definitions/database.js:27:12)
at global.DB.global.DATABASE (/Users/toto/node_modules/total.js/index.js:213:28)
at SchemaBuilderEntity. (/Users/toto/example-master/models/users.js:84:18)
at /Users/toto/node_modules/total.js/builders.js:1961:13
at SchemaBuilderEntity.$prepare (/Users/toto/node_modules/total.js/builders.js:1296:3)
at SchemaBuilderEntity.workflow (/Users/toto/node_modules/total.js/builders.js:1946:7)
at /Users/toto/node_modules/total.js/builders.js:1216:9
at Array.async (/Users/toto/node_modules/total.js/utils.js:4252:2)
at Immediate._onImmediate (/Users/toto/node_modules/total.js/builders.js:1085:16)
at processImmediate as _immediateCallback
======= 2016-01-03 20:04:13: MongoError: connect ETIMEDOUT 54.155.29.65:35985 Error: connect ETIMEDOUT 54.155.29.65:35985
at Object.exports._errnoException (util.js:837:11)
at exports._exceptionWithHostPort (util.js:860:20)
at TCPConnectWrap.afterConnect as oncomplete

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.