Skip to content

szwork2013/impulse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imPulse

imPulse Group Collaboration Software

Objective

Attempting to take a product that was developed using Java for the server and Adobe Flex for the client and migrate it to PHP and AngularJS.

Setup

Requires PHP >= 5.5.0 and MySQL >= 5.5.2

  • Create a database named impulse
  • Use/Select the database impulse

In the db folder

  • Create the tables by running impulse-schema.sql

  • Add an admin user by running admin-user.sql

    • This will create a user ID admin with password change.me
  • Add test data for properties and system_setting tables by running test-data.sql

  • Edit config.inc.php and set the DB_ values to connect to your database server

In the test folder run the PHPUnit tests:

  • phpunit UserServicePDOTest.php
  • phpunit ForumServicePDOTest.php
  • phpunit SettingsServicePDOTest.php

Web Server Setup

The web server deployment folder looks like this so far (webroot -> source folder):

  • /impulse
    • The root directory on the web server
  • /impulse/api -> /server/src
    • REST web services API
  • /impulse/admin -> /ui/admin
    • Admin Application
  • /impulse/common -> /ui/common
    • Shared UI components
  • /impulse/vendor -> /ui/vendor
    • Vendor supplied code, AngularJS, Bootstrap, etc.
  • /impulse/workspace -> /ui/workspace
    • Workspace Collaboration Application
  • /impulse/index.html -> /ui/index.html
    • Landing Page

2014-10-29

Added administrative application. For building NodeJS >= v0.10.29 is required

From the ui/ folder:

  • Initial NodeJS development tools

    • npm install -g bower installs bower globally
    • npm install grunt --save-dev installs into ui/node_modules
    • npm install grunt-contrib-jshint --save-dev installs into ui/node_modules
    • npm install grunt-contrib-uglify --save-dev installs into ui/node_modules
    • npm install grunt-contrib-copy --save-dev installs into ui/node_modules
  • Use Bower to retrieve dependencies.

    • bower install
  • Use Grunt to move the files into the dist folder.

    • grunt copy

Initial Release

There is nothing useful here at this point but the server code demonstrating the use of:

  • Slim Framework 2.4.2 for implementing REST web services and authentication middleware
  • NotORM for mapping arrays to database fields and getting rid of some repetitive PDO code

About

RIA/SPA Groupware using AngularJS/MySQL/PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 44.8%
  • JavaScript 35.2%
  • HTML 16.9%
  • CSS 3.0%
  • ApacheConf 0.1%