All Projects → mylittletony → ct-frontend

mylittletony / ct-frontend

Licence: MIT license
Frontend Demo for Cucumber Tony API

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Roff
2310 projects
CSS
56736 projects

Projects that are alternatives of or similar to ct-frontend

openwrt-useful-tools
A repo containing different tools compiled specifically for the Hak5 WiFi Pineapple MK6 and MK7.
Stars: ✭ 155 (+675%)
Mutual labels:  openwrt, wifi
Ansible Openwisp2
Ansible role that installs and upgrades OpenWISP.
Stars: ✭ 403 (+1915%)
Mutual labels:  openwrt, wifi
scale-network
SCaLE's on-site expo network configurations, wifi, tooling, and scripts
Stars: ✭ 13 (-35%)
Mutual labels:  openwrt, wifi
Openwisp Controller
Network and WiFi controller: provisioning, configuration management and updates, (pull via openwisp-config or push via SSH), x509 PKI management and more. Mainly OpenWRT, but designed to work also on other systems.
Stars: ✭ 377 (+1785%)
Mutual labels:  openwrt, wifi
Openwisp Firmware
A OpenWRT based firmware to be used with OpenWISP Manager
Stars: ✭ 86 (+330%)
Mutual labels:  openwrt, wifi
luci-openwisp
OpenWISP configuration interface implemented as LuCI extensions
Stars: ✭ 21 (+5%)
Mutual labels:  openwrt, wifi
Qaul.net
Internet independent, decentralised ad-hoc wireless communication application (ONLY A MIRROR FOR https://git.open-communication.net/qaul/qaul.net )
Stars: ✭ 195 (+875%)
Mutual labels:  openwrt, wifi
ansible-openwrt
Ansible collection to configure your OpenWrt devices more quickly and automatically (without Python)
Stars: ✭ 34 (+70%)
Mutual labels:  openwrt, wifi
Django Netjsonconfig
Configuration manager for embedded devices, implemented as a reusable django-app
Stars: ✭ 213 (+965%)
Mutual labels:  openwrt, wifi
Socketman
And I think it's gonna be a long, long time
Stars: ✭ 52 (+160%)
Mutual labels:  openwrt, wifi
Board
LibreRouter hardware repository
Stars: ✭ 48 (+140%)
Mutual labels:  openwrt, wifi
Netjson
NetJSON is a data interchange format for encoding the basic building blocks of networks.
Stars: ✭ 171 (+755%)
Mutual labels:  openwrt, wifi
Ansible Openwisp2 Imagegenerator
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Stars: ✭ 122 (+510%)
Mutual labels:  openwrt, wifi
Drcom Gdut Hc5661a Openwrt
在Dr.COM下使用路由器上校园网WIFI(以广东工业大学、极路由1S HC5661A、OpenWrt为例)
Stars: ✭ 245 (+1125%)
Mutual labels:  openwrt, wifi
Lime Packages
OpenWrt packages composing LibreMesh meta-firmware for wireless mesh networking
Stars: ✭ 204 (+920%)
Mutual labels:  openwrt
Openwrt Trojan
trojan and its dependencies for OpenWrt
Stars: ✭ 236 (+1080%)
Mutual labels:  openwrt
Openwrt Pcap dnsproxy
Pcap_DNSProxy for OpenWrt/LEDE
Stars: ✭ 204 (+920%)
Mutual labels:  openwrt
Luci Wrtbwmon
Bandwidth tracker for OpenWRT that uses wrtbwmon
Stars: ✭ 201 (+905%)
Mutual labels:  openwrt
Blynk WM
Blynk and WiFiManager Library for configuring/auto(re)connecting ESP8266/ESP32 modules to the best or available MultiWiFi APs and MultiBlynk servers at runtime, with or without SSL. Configuration data saved in either SPIFFS or EEPROM.
Stars: ✭ 46 (+130%)
Mutual labels:  wifi
Ddns Scripts aliyun
OpenWrt/LEDE DDNS support for aliyun (阿里云)
Stars: ✭ 224 (+1020%)
Mutual labels:  openwrt

Welcome To CT

CT is an orchestration tool for WiFi Devices. It's like mission control for your networks - a single-pane of glass to manage all your devices. (That whole sentence is trademarked btw).

The core of the service is the CT RESTFul API. This portal is currently our beta portal - soon to be production. It communicates with the API to provide a 'nice' interface for controlling your devices.

It's proof that anything is possible. Just use your imagination.

Code Status

CircleCI

Getting Started

This is a demo portal which acts as an interface to the CT API. It's not production ready and many tests were temporarily removed.

There's two ways to run the application:

  • Using Docker
  • Using plain NodeJS / npm

Running with NodeJS

  • Create an Application in the current Tony and obtain your APP ID and Secret
  • Enter these in the local.enc.sample.js.default. Or use some ENV variables.

You also need to install via npm install && bower install to get all the dependencies.

npm install
bower install

To run in development, you can use the following:

grunt serve

Make sure you have updated the Gruntfile to include the api.ctapp.io end-points.

Using With Docker

Make sure you have Docker and Docker Compose installed. Full instructions on the Docker site. If you want to use docker-compose, please ensure you're using the version > 1.7 otherwise you will get an error.

You can either use docker compose or plain docker build. It's up to you. With docker compose, you can create a .env file that will pull all your ENV vars in. In the project directory run:

Make sure to edit it the cucumber.env file first accordingly.

docker-compose up

Then you should be able to access your container on your Docker IP:

curl http://192.168.1.1:8080

If you don't want to use docker compose, just run the following in your project root:

docker build -t cucumber .

Followed by:

docker run \
  -e APP_ID=YOUR-ID \
  -e APP_SECRET=YOUR-SECRET \
  -e API_URL=https://api.ctapp.io \
  -e AUTH_URL=https://id.ctapp.io \
  -e BASE_URL=my.ctapp.dev:9090 \
  -e PORT=80
  -p 8080:80 cucumber

Replacing all the vars as you see fit.

Still to sort

We have not implemented TLS yet. This will come soon - basically don't use this in production yet.

Using with Heroku

These instructions assume you're not using the Docker image, we will explain that later.

If you want to deploy yourself with Heroku, you need to do a few things.

Create a Heroku repository and add to the Gruntfile

heroku: {
  options: {
    remote: '[email protected]:my-app-8983.git',
    branch: 'master'
  }
}

Add some ENV variables to your Heroku Repo

You need to add:

  • APP_ID=YOUR-APP-ID
  • APP_SECRET=YOUR-SECRET
  • CT_URL=your-local-dash-url
  • NODE_ENV=production

Then you can deploy with:

grunt buildcontrol:heroku

Push Notifications

TBC. We should detail what notifications we use, including the channels in use. Think this is going to take some work since we have dozens coming from multiple services.

For now, use the code samples etc. to figure it out.

Translations

TBC

Contributing

Issues

Search before posting. Describe your issue in detail. Do not raise an issue if you have a problem with the API. Front-end only please.

Code

There's now contributing guide available which guides you through how we roll.

Copyright and License

MIT License

Copyright (c) 2016 CT Limited

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].