Giter Club home page Giter Club logo

ele-web's Introduction

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.

ele-web's People

Contributors

mbleigh avatar fastdivision avatar collin avatar

Watchers

James Cloos avatar Ali Halabyah 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.