Skip to content

Less dependecies #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .bowerrc

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
config.json
node_modules/
public/js/
public/css/
public/bower_components/
.vscode/
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,27 @@ The customizable video switchers web controller.
Installation
--------
- Copy `config.json.sample` to `config.json`
- Install dependency components with bower
- Compile front app sources with gulp
- Install dependencies with npm
- Prepare assets with webpack

```sh
$ cp config.json.sample config.json
$ bower install
$ gulp
cp config.json.sample config.json
npm install
npm run webpack
```

Run
--------
- Run the app server

```sh
$ coffee server.coffee
npm start
```
You will be able to see soon: `http://<your host>:8080/`
or
```sh
node ./src/server.js
```
Then type to your browser address bar: `http://localhost:8080/`

Example
--------
Expand Down
21 changes: 0 additions & 21 deletions bower.json

This file was deleted.

2 changes: 1 addition & 1 deletion config.json.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"switchers": [
{ "type": "atem", "addr": "172.16.0.101" }
{ "type": "atem", "addr": "192.168.88.240" }
],
"channels": [
{ "device": 0, "input": 1 },
Expand Down
23 changes: 0 additions & 23 deletions gulpfile.coffee

This file was deleted.

25 changes: 11 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,19 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "node src/server.js",
"test": "echo \"Error: no test specified\" && exit 1",
"webpack": "webpack"
},
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"applest-atem": "^0.1.2",
"body-parser": "^1.13.2",
"express": "^4.13.1"
},
"devDependencies": {
"coffee-script": "^1.9.3",
"gulp": "^3.9.0",
"gulp-coffee": "^2.3.1",
"gulp-notify": "^2.2.0",
"gulp-plumber": "^1.0.1",
"gulp-sass": "^2.0.4",
"gulp-watch": "^4.3.3"
"applest-atem": "^0.2.4",
"body-parser": "^1.18.2",
"express": "^4.16.1",
"angular": "~1.4.3",
"hammerjs": "~2.0.4",
"copy-webpack-plugin": "^4.0.1",
"webpack": "^2.6.1"
}
}
Loading