Coder Social home page Coder Social logo

chaki-test-app's Introduction

SlateAdmin

The full-screen ExtJS app powering /manage on Slate V1, extracted from SlateFoundation/slate and upgraded to ExtJS 5

Getting started with development

  1. Install latest 5.x Sencha CMD
  2. Clone this repository
  3. cd slate-admin/sencha-workspace/packages
  4. ./get-packages.sh
  5. cd ../SlateAdmin
  6. sencha app build

Then run a web server from the main slate-admin directory or higher in your file tree and navigate to the sencha-workspace/SlateAdmin folder in your browser. If you don't have a server you can run sencha web start to run a basic local server.

The first time you build the app, it will download the correct version of the framework from Sencha.

Connecting to a server

You can connect SlateAdmin to any remote Slate instance that has CORS enabled by appending the query paramater apiHost when loading the page. SlateAdmin.Application.init detects it and passes it to SlateAdmin.API.setHostname. SlateAdmin doesn't (yet) have a way to catch authentication errors and show a login prompt, so you'll just need to login to the site manually in another browser tab when you catch an error for now.

Example domain with CORS enabled: v1-demo.node0.slate.is

Build docs

  1. sudo gem install jsduck (if you don't have jsduck installed already)
  2. cd slate-admin/sencha-workspace/SlateAdmin
  3. sencha ant docs

chaki-test-app's People

Contributors

starsinmypockets avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.