Merge pull request #1199 from ethereum/useremixd

Add remixd to remix-ide binary
pull/3094/head
yann300 7 years ago committed by GitHub
commit ef2b9f617c
  1. 10
      bin/remix-ide
  2. 5
      package.json

@ -1,14 +1,16 @@
#!/usr/bin/env node #!/usr/bin/env node
var httpServer = require('http-server') var httpServer = require('http-server')
// var remixd = require('remixd') removing remixd capabilities for now var remixd = require('remixd')
var server = httpServer.createServer({ var server = httpServer.createServer({
root: __dirname + '/../' root: __dirname + '/../'
}) })
console.log('\x1b[33m%s\x1b[0m', 'Starting Remix IDE at http://localhost:8080') var folder = process.argv.length > 2 ? process.argv[2] : __dirname
server.listen(8080, '127.0.0.1', function () {}) server.listen(8080, '127.0.0.1', function () {})
// var router = new remixd.Router() var router = new remixd.Router()
// router.start(__dirname) router.start(folder)
console.log('\x1b[33m%s\x1b[0m', 'Starting Remix IDE at http://localhost:8080 and sharing ' + folder)

@ -1,6 +1,6 @@
{ {
"name": "remix-ide", "name": "remix-ide",
"version": "0.5.2-alpha.7", "version": "0.5.2-alpha.8",
"description": "Minimalistic browser-based Solidity IDE", "description": "Minimalistic browser-based Solidity IDE",
"devDependencies": { "devDependencies": {
"async": "^2.1.2", "async": "^2.1.2",
@ -54,6 +54,9 @@
"yo-yo": "^1.2.2", "yo-yo": "^1.2.2",
"yo-yoify": "^3.1.0" "yo-yoify": "^3.1.0"
}, },
"dependencies": {
"remixd": "git+https://github.com/ethereum/remixd.git"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/ethereum/remix-ide.git" "url": "git+https://github.com/ethereum/remix-ide.git"

Loading…
Cancel
Save