Remix-ide web version and client two ways to connect to local files Mac

1. Install the remix-ide client directly

1.1 brew cask install remix-ide client

brew install --cask remix-ide

1.2 Open the client, WORKSPACES select localhost, the default is in the user directory

 

1.3 Select file->Open Folder to select the folder directory

 

2. Use a browser to connect to a local folder

This way is to use the browser IDE

Visit Remix - Ethereum IDE

2.1 install remixd

npm install -g @remix-project/remixd

Pre-install npm

2.2 Specify the connection folder path

remixd -s 项目绝对路径(例:/Users/yourname/yourpath) --remix-ide https://remix.ethereum.org/

 

2.3 Open the browser IDE

select localhost

 

The pop-up dialog box selects connect

 

You can see that it has been connected to the local folder

 

3. Start the local browser IDE

Since I am using the client, I did not start the local browser IDE locally. In the locally started browser IDE, just change the url path in the command to the local path, and change the specific port to the port you started yourself.

remixd -s 项目绝对路径(例:/Users/yourname/yourpath) --remix-ide http://localhost:6666/

Guess you like

Origin blog.csdn.net/chen_peng7/article/details/129823053