mirror of https://github.com/arendst/Tasmota.git
Kees Romkes created this page
parent
ca99885bf4
commit
ee6cc20cce
|
@ -0,0 +1,27 @@
|
|||
Mac OSX comes with a built in web server, although it's not running by default. Starting the web server can be done by running:
|
||||
```bash
|
||||
sudo apachectl start
|
||||
```
|
||||
|
||||
To start the server, you'll be asked for your user's password.
|
||||
|
||||
Opening [your localhost](http://localhost) will show you 'it works!', which will tell you that much - it works.
|
||||
|
||||
The folder to put files in is
|
||||
```bash
|
||||
/Library/WebServer/Documents
|
||||
```
|
||||
|
||||
You may wish to create a subfolder for the firmware files.
|
||||
|
||||
Use the IP address of this local web server to OTA flash Tasmota. You can determine your IP address [here](https://www.whatismybrowser.com/detect/what-is-my-local-ip-address). For example,
|
||||
```bash
|
||||
http://192.168.1.123/sonoff-basic.bin
|
||||
```
|
||||
|
||||
Issue this command to stop the web server when your are done flashing:
|
||||
```bash
|
||||
sudo apachectl stop
|
||||
```
|
||||
|
||||
_Note: The MAMP web server does not seem to deliver the results as expected!_
|
|
@ -1,30 +0,0 @@
|
|||
Mac OSX comes with a built in webserver, although it's not running by default. Starting the webserver can be done by running:
|
||||
|
||||
```bash
|
||||
sudo apachectl start
|
||||
```
|
||||
|
||||
You'll be asked for your users' password, to start the server.
|
||||
|
||||
Opening [your localhost](http://localhost) will show you 'it works!', which will tell you that much - it works.
|
||||
|
||||
You'll find the folder to put your files in under
|
||||
|
||||
```bash
|
||||
/Library/WebServer/Documents
|
||||
```
|
||||
|
||||
Feel free to create a folder here if you want it to.
|
||||
|
||||
While flashing use your local IP address ([you can figure that out here](https://www.whatismybrowser.com/detect/what-is-my-local-ip-address)) instead. E.g.:
|
||||
|
||||
```bash
|
||||
http://192.168.1.123/sonoff-basic.bin
|
||||
```
|
||||
|
||||
Stopping the server when done flashing is just as easy;
|
||||
```bash
|
||||
sudo apachectl stop
|
||||
```
|
||||
|
||||
_note: MAMP seems to be not delivering the results as expected!_
|
Loading…
Reference in New Issue