Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| /** @jsx React.DOM */ | |
| var Dashboard = React.createClass({ | |
| render: function() { | |
| return ( | |
| <div> | |
| <h1>Dashboard!</h1> | |
| <ul> | |
| <li><Link to="inbox">Inbox</Link></li> | |
| </ul> |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.