All Projects → divshot → ele-web

divshot / ele-web

Licence: MIT license
Ele, the in-browser development environment for Web Components.

Programming Languages

CSS
56736 projects
ruby
36898 projects - #4 most used programming language
shell
77523 projects

Ele Web

This is the web client for Ele. It's built using Polymer and hosted on (and developed by) Divshot. Ele is an in-browser editor for Web Components.

Local Development

Ele is separated into two pieces: the static front-end web client (this repo) and ele-api, the Node.js back-end. You'll need both repositiories, Node.js, and MongoDB to get local development up and running.

Cloning

mkdir ele && cd ele
git clone https://github.com/divshot/ele-web.git
git clone https://github.com/divshot/ele-api.git

API Up and Running

You should follow the instructions in the API README to get it up and running. Once that's done, head back here to get the web client properly set up.

Running the Web Client

Divshot allows for client-side environment variables. To develop locally, you'll need to create a .env.json file that looks like this:

{
  "API_ORIGIN":"http://url.of.your.api.server"
}

Where API_ORIGIN is set to whatever host and port on which you're running the Node.js API (for instance, http://localhost:3000).

Then you just need to install the bower components and you're up and running:

bower install
npm install -g divshot-cli
divshot server -p 4000

That's it! You should now be able to visit http://localhost:4000 and see the Ele landing page.

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].