The full-screen ExtJS app powering /manage on Slate V1, extracted from SlateFoundation/slate and upgraded to ExtJS 5
- Install latest 5.x Sencha CMD
- Clone this repository
cd slate-admin/sencha-workspace/packages
./get-packages.sh
cd ../SlateAdmin
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.
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
sudo gem install jsduck
(if you don't have jsduck installed already)cd slate-admin/sencha-workspace/SlateAdmin
sencha ant docs