Serve remix-ide on port 8080

pull/17/head
ioedeveloper 4 years ago committed by Aniket
parent 001c48c8bd
commit a597c47272
  1. 2
      apps/remix-ide/README.md
  2. 2
      apps/remix-ide/ci/browser_tests.sh
  3. 2
      apps/remix-ide/ci/browser_tests_chrome.sh
  4. 2
      apps/remix-ide/ci/browser_tests_firefox.sh
  5. 2
      apps/remix-ide/ci/browser_tests_run_deploy.sh
  6. 2
      apps/remix-ide/docs/locations.md
  7. 2
      apps/remix-ide/src/app.js
  8. 2
      apps/remix-ide/test-browser/helpers/init.js
  9. 2
      apps/remix-ide/test-browser/tests/defaultLayout.test.js
  10. 2
      apps/remix-ide/test-browser/tests/generalSettings.test.js
  11. 2
      apps/remix-ide/test-browser/tests/pluginManager.test.js
  12. 2
      apps/remix-ide/test-browser/tests/terminal.test.js
  13. 2
      apps/remix-ide/test-browser/tests/workspace.test.js
  14. 2
      package.json
  15. 3
      workspace.json

@ -84,7 +84,7 @@ curl https://raw.githubusercontent.com/ethereum/remix-ide/master/docker-compose.
## DEVELOPING:
Run `npm start` and open `http://127.0.0.1:4200` in your browser.
Run `npm start` and open `http://127.0.0.1:8080` in your browser.
Then open your `text editor` and start developing.
The browser will automatically refresh when files are saved.

@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
cd ../../..
}

@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
cd ../../..
}

@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
cd ../../..
}

@ -7,7 +7,7 @@ setupRemixd () {
cd apps/remix-ide/contracts
echo 'sharing folder: '
echo $PWD
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:4200 &
../../../node_modules/.bin/remixd -s $PWD --remix-ide http://127.0.0.1:8080 &
cd ../../..
}

@ -5,6 +5,6 @@ So if you've found the documentation to Remix but don't know where to find Remix
- An online version is available at [https://remix.ethereum.org](https://remix.ethereum.org). This version is stable and is updated at almost every release.
- An alpha online version is available at [https://remix-alpha.ethereum.org](https://remix-alpha.ethereum.org). This is not a stable version.
- npm `remix-ide` package `npm install remix-ide -g`. `remix-ide` create a new instance of `Remix IDE` available at [http://127.0.0.1:4200](http://127.0.0.1:4200) and make the current folder available to Remix IDE by automatically starting `remixd`.
- npm `remix-ide` package `npm install remix-ide -g`. `remix-ide` create a new instance of `Remix IDE` available at [http://127.0.0.1:8080](http://127.0.0.1:8080) and make the current folder available to Remix IDE by automatically starting `remixd`.
see [Connection to `remixd`](https://remix-ide.readthedocs.io/en/latest/remixd.html) for more information about sharing local file with `Remix IDE`.
- Github release: [https://github.com/ethereum/remix-ide/releases](https://github.com/ethereum/remix-ide/releases) . The source code is packaged at every release but still need to be built using `npm run build`.

@ -218,7 +218,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
toolTip('You are using an `https` connection. Please switch to `http` if you are using Remix against an `http Web3 provider` or allow Mixed Content in your browser.')
}
const hosts = ['127.0.0.1:4200', '192.168.0.101:4200', 'localhost:4200']
const hosts = ['127.0.0.1:8080', '192.168.0.101:8080', 'localhost:8080']
// workaround for Electron support
if (!isElectron() && !hosts.includes(window.location.host)) {
// Oops! Accidentally trigger refresh or bookmark.

@ -2,7 +2,7 @@ require('dotenv').config()
module.exports = function (browser, callback, url, preloadPlugins = true) {
browser
.url(url || 'http://127.0.0.1:4200')
.url(url || 'http://127.0.0.1:8080')
.pause(5000)
.switchBrowserTab(0)
.injectScript('test-browser/helpers/applytestmode.js', function () {

@ -4,7 +4,7 @@ const sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:4200', false)
init(browser, done, 'http://127.0.0.1:8080', false)
},
'Loads Icon\'s Panel': function (browser) {
browser.waitForElementVisible('div[data-id="remixIdeIconPanel"]', 10000)

@ -4,7 +4,7 @@ const sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:4200', false)
init(browser, done, 'http://127.0.0.1:8080', false)
},
'Should display settings menu': function (browser) {

@ -9,7 +9,7 @@ const testData = {
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:4200', false)
init(browser, done, 'http://127.0.0.1:8080', false)
},
'Should Load Plugin Manager': function (browser) {

@ -4,7 +4,7 @@ var sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:4200?plugins=solidity,udapp', false)
init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp', false)
},
'Should execution a simple console command': function (browser) {

@ -4,7 +4,7 @@ const sauce = require('./sauce')
module.exports = {
before: function (browser, done) {
init(browser, done, 'http://127.0.0.1:4200?plugins=solidity,udapp', false)
init(browser, done, 'http://127.0.0.1:8080?plugins=solidity,udapp', false)
},
'CheckSolidityActivatedAndUDapp': function (browser) {
browser

@ -90,7 +90,7 @@
"nightwatch_local_runAndDeploy": "nightwatch ./apps/remix-ide/test-browser/tests/runAndDeploy.js --config apps/remix-ide/nightwatch.js --env chrome-runAndDeploy ",
"onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint",
"prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build:libs build",
"remixd": "remixd -s ./apps/remix-ide/contracts --remix-ide http://127.0.0.1:4200",
"remixd": "remixd -s ./apps/remix-ide/contracts --remix-ide http://127.0.0.1:8080",
"selenium": "selenium-standalone start",
"selenium-install": "selenium-standalone install",
"sourcemap": "exorcist --root ../ apps/remix-ide/build/app.js.map > apps/remix-ide/build/app.js",

@ -52,7 +52,8 @@
"serve": {
"builder": "@nrwl/web:dev-server",
"options": {
"buildTarget": "remix-ide:build"
"buildTarget": "remix-ide:build",
"port": 8080
},
"configurations": {
"production": {

Loading…
Cancel
Save