You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.9 KiB
49 lines
1.9 KiB
7 years ago
|
# Remixd
|
||
|
|
||
6 years ago
|
`remixd` is a tool that intend to be used with [Remix IDE](http://github.com/ethereum/browser-solidity) (aka. Browser-Solidity). It allows a websocket connection between
|
||
7 years ago
|
`Remix IDE` (web application) and the local computer.
|
||
|
|
||
6 years ago
|
Practically Remix IDE make available a folder shared by `remixd`.
|
||
7 years ago
|
|
||
|
More details are explained in this [tutorial](http://remix.readthedocs.io/en/latest/tutorial_remixd_filesystem.html).
|
||
|
|
||
6 years ago
|
Alternatively `remixd` can be used to setup a development environment that can be used with other popular frameworks like Embark, Truffle, Ganache, etc..
|
||
7 years ago
|
|
||
6 years ago
|
`remixd` needs `npm` and `node`
|
||
7 years ago
|
|
||
|
## INSTALLATION
|
||
|
|
||
|
`npm install -g remixd`
|
||
|
|
||
|
## HELP SECTION
|
||
|
|
||
|
```
|
||
6 years ago
|
Usage: remixd -s <shared folder> --remix-ide https://remix.ethereum.org
|
||
7 years ago
|
|
||
6 years ago
|
Provide a two-way connection between the local computer and Remix IDE.
|
||
7 years ago
|
|
||
7 years ago
|
|
||
|
Options:
|
||
|
|
||
6 years ago
|
--remix-ide <url> URL of remix instance allowed to connect to this
|
||
|
web sockect connection
|
||
6 years ago
|
-s, --shared-folder <path> Folder to share with Remix IDE
|
||
|
--read-only Treat shared folder as read-only (experimental)
|
||
|
-h, --help output usage information
|
||
7 years ago
|
|
||
7 years ago
|
```
|
||
|
|
||
|
## SHARE A FOLDER
|
||
|
|
||
6 years ago
|
`remixd -s <absolute-path> --remix-ide https://remix.ethereum.org`
|
||
7 years ago
|
|
||
|
The current user should have `read/write` access to the folder (at least `read` access).
|
||
|
|
||
|
It is important to notice that changes made to the current file in `Remix IDE` are automatically saved to the local computer every 5000 ms. There is no `Save` action. But the `Ctrl-Z` (undo) can be used.
|
||
|
|
||
|
Furthermore :
|
||
|
- No copy of the shared folder are kept in the browser storage.
|
||
|
- It is not possible to create a file from `Remix IDE` (that might change).
|
||
|
- If a folder does not contain any file, the folder will not be displayed in the explorer (that might change).
|
||
|
- Symbolic links are not forwarded to Remix IDE.
|
||
5 years ago
|
|