livesandbox
v0.13.2
Published
In-browser JavaScript IDE and execution environment
Downloads
14
Readme
livesandbox
in-browser JavaScript IDE
v 0.13.0
An in-browser JavaScript Web Application IDE with live execution, console output, and application display.
Requirements:
- NodeJS runtime
- MariaDB server
Installation:
Clone the GtHub repo.
In the console from the root folder of the project, type:
$ npm install
Restore the backup of the database from the ./database folder into your MariaDB server.
The database login information is located in config/db.config.js. Either copy these credentials or create db credentials of your own and copy them into this file.
In the console from the root folder of the project, type:
$ node index.js
Changing the User Password
Since there is as yet no admin console, if you want to change the password for the initial user, in the console from the root folder of the project, type:
$ node hashpassword.js <password>
Copy the resulting hash and use a SQL editor to update the hash field in the users table:
UPDATE users set hash = '<hash>' WHERE userID = 6;
*** There are now two users in the database, "user" and "rmunn". Both use a password of "password". ***
Notes
There are a couple of example apps saved as part of the default user's account.