MAGOWARE is an IPTV/OTT solution for Pay Tv Businesses. The administration portal is build on Sequelize, Express, ng-admin, and Node.js
- PostgreSQL 9.4 or MySQL, MariaDB, SQLite and MSSQL (Depending on your project but SEAN.JS defaults to PostgreSQL 9.4)
- Redis Server
- Node.js
- NPM
To run your application with production environment configuration, execute grunt as follows:
$ grunt prod
- explore
config/env/production.js
for production environment configuration options
Application will start by default with secure configuration (SSL mode) turned on and listen on port 8443. To run your application in a secure manner you'll need to use OpenSSL and generate a set of self-signed certificates. Unix-based users can use the following command:
$ sh ./scripts/generate-ssl-certs.sh
SEAN.JS is a Full-Stack Javascript for an easy starting point with SequilizeJS, ExpressJS, AngularJS and NodeJS based applications. It is designed to give you a quick and organized way to start developing SEAN based web apps.
- RedisStore: Redis session store backed by node_redis, and is insanely fast!
- ACL: An Access Control List module, based on Redis with Express middleware support
- Async: Higher-order functions and common patterns for asynchronous code
- Passport: Simple, unobtrusive authentication for Node.js (Facebook, Twitter, LinkedIn, Google and PayPal)
- Socket.io: Node.js realtime framework server
- reCaptcha: Tough on bots Easy on humans
- Nodemailer: Send e-mails with Node.JS – easy as cake!
- And many more...
Based on MEAN Stack
Live Example: http://seanjs.herokuapp.com
Install:
Using Docker, you don't have to install any prerequisites on your machine.
Just install Docker, run docker-compose up
and you are up and running!
You will have these containers created for you:
- Nodejs (4.2.3)
- PostgreSQL (Latest)
- Redis (Latest)
Local development and testing with compose:
$ docker-compose up
Note: You might need to try this command
eval "$(docker-machine env default)"
in the project directory root to activate Docker
- PostgreSQL 9.4 or MySQL, MariaDB, SQLite and MSSQL (Depending on your project but SEAN.JS defaults to PostgreSQL 9.4)
- Redis Server
- Node.js
- NPM
For MySQL, MariaDB, SQLite and MSSQL
Please replace:
- user.server.model.js with
/modules/users/server/models/user.server.model.js
- user.authentication.server.controller.js with
/modules/users/server/controllers/users/user.authentication.server.controller.js
And update your database in the
config/env/
$ sequelize migration:create # Generates a new migration file.
To upgrade the database with the latest changes run the following:
$ sequelize db:migrate
- explore
config/env/production.js
for production environment configuration options
Application will start by default with secure configuration (SSL mode) turned on and listen on port 8443. To run your application in a secure manner you'll need to use OpenSSL and generate a set of self-signed certificates. Unix-based users can use the following command:
$ sh ./scripts/generate-ssl-certs.sh
Windows users can follow instructions found here. After you've generated the key and certificate, place them in the config/sslcerts folder.
Finally, execute grunt's prod task grunt prod
- enable/disable SSL mode in production environment change the
secure
option inconfig/env/production.js
Step 1: remove all history
rm -rf .git Step 2: reconstruct the Git repo with only the current content
git init git add . git commit -m "Initial commit" Step 3: push to GitHub.
git remote add origin git push -u --force origin master
Run the following command to generate APIDOC folder
apidoc -i modules/deviceapiv2/server/controllers/ modules/streams/server/controllers/ -o public/apidoc/
(The MIT License)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.