jakiestfu / Bits

Bits Editor is your personal playground to develop in HTML, CSS, and Javascript, all from your own server.
http://coolbitsbro.com/
87 stars 40 forks source link

Bits Editor is your personal playground to develop in HTML, CSS, and Javascript, all from your own server. Bits is written in PHP

Featurse

Requirements

Install

There are a few things you must do before you can get started playing with Bits Editor, but don't worry, they're really small.

1. Install the single table that Bits uses

Bits uses a single table in it's database. The .sql file to install is located in /setup/isntall.sql

2. Editor your Config File

Bits has a lot of settings for you to mess with. Navigate to /www/app/config/config.php to access them. You are required to set your base_url, your code_url (more no this option below), all of the prefixed db_ properties, and lastly, your users.

The code_url is the same url as your application, but it has a subdomain pointing to the main install. This is to thwart your code iframes from having access to the editor itself.

Go!

Bits will be ready for you to play with at this point. Have fun!


config.php Options

Screenshots