Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djhi/mysessions
MySessions - Umbrella repository to work with core, web and mobile
https://github.com/djhi/mysessions
Last synced: about 1 month ago
JSON representation
MySessions - Umbrella repository to work with core, web and mobile
- Host: GitHub
- URL: https://github.com/djhi/mysessions
- Owner: djhi
- License: mit
- Created: 2015-02-02T17:52:29.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-02T17:52:40.000Z (almost 10 years ago)
- Last Synced: 2024-11-08T04:44:11.567Z (3 months ago)
- Language: Shell
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MySessions
=========================This is an umbrella repository for the MySessions applications.
## Initialization
* If you haven't cloned this repository yet, use this command to clone it with its submodules
```
git clone --recursive https://github.com/djhi/mysessions.git
```* If you haven't cloned this repository with submodules, you must
initialize them:
```
git submodule init --recursive
git submodule update --recursive
```* If you want to run the tests, you need a running selenium server. You can install one easily by using the [selenium-standalone](https://www.npmjs.com/package/selenium-standalone) NPM package.
```
npm i -g selenium-standalone
```
*you might have to run this command as root*## Structure
There are 4 folders in this repository:
### configContains settings files for our environnements (development, production).
### mysessions-core
This is a **Meteor package** containing code common to the mobile and web applications (collections, workflows, etc.)
It can be tested independently by using the [practicalmeteor-spacejam](https://github.com/practicalmeteor/spacejam/) NPM package.
*Velocity does not support packages tests yet. Once it will, I'll convert those tests to use the most appropriate testing framework with Velocity for it (probably `cucumber`, maybe `jasmine`).*
### mysessions-web
This is the **Meteor application** for the Web UI. It uses `mysessions-core`.
It uses [meteor:velocity](http://velocity.meteor.com) with [xolvio:cucumber](https://github.com/xolvio/meteor-cucumber) to run the tests in parallel.
### mysessions-mobile
This WILL BE the **Meteor application** for the Mobile UI. It uses `mysessions-core`.
It uses [meteor:velocity](http://velocity.meteor.com) with [xolvio:cucumber](https://github.com/xolvio/meteor-cucumber) to run the tests in parallel.
## Scripts
2 scripts are supplied to ease starting the applications and tests:* `selenium`: used to start a selenium server installed by the [selenium-standalone](https://www.npmjs.com/package/selenium-standalone) NPM package
* `start`: used to start the meteor Web application
*Another script will be supplied to start the mobile application.*