This a POC app for Project Chronos Platform.
This is a Python3 Tornado Web-server to run sockjs with sockjs-tornado.
The data is fetched from Chronos cloudService at http://spacexplore.it.
The app is the Angular-js one in /static/app.
*Improve Errors display to users (now it is done with alert())
*Write a brief tutorial
*Write hints for hovers
*Limit possible choices in bus and payloads (3/4)
*Implement loaders
*Implement promises
*Write utilities' functions to handle controllers' common tasks
*Fix the pages navigation system (pages should keep selections)
*Have all DOM manipulations into directives
*Implement JSON-RPC spec for client-server communications
*Refactor socket wrapper
*Solve the double-binding for checkboxes groups in Payloads and Bus controllers
*Better Details visualization in Results' Page
Notes: $routeProvider > resolve can be found in $route.current.locals
Use $scope.bind('') in directives to trigger events
You need npm
and bower
to install client-side libraries and tests, and angularjs
itself.
python3-devel
libray needs to be installed in your system
To run the server locally:
-
Install MongoDB by following the installation instructions at official website
-
Create a virtual environment:
pyvenv-3.3 {/path/to/your/venv}
-
Activate your venv:
source {/path/to/your/venv}/bin/activate
-
Install dependencies into the venv:
easy_install pip pip install -r requirements.txt
-
Clone repository:
git clone https://github.com/SpaceAppsXploration/simulator-ng
cd simulator-ng/static npm install bower install
-
Start local MongoDB instance
mongod
-
Create a fake user by running
appdata/starter.py
python3.3 starter.py
-
Start local server, in simulator-ng directory:
nohup python3.3 astroloop.py &
Check if working: go to localhost:8080 in your browser