Simple browser based text/code editor that lets you create/edit files in a directory on the webserver. The @files_path attribute in EditOnServer.Controllers.Files is the path to the directory on the server that contains the files that can be edited.
Uses the excellent Ace editor for the client code and the [Phoenix] (https://github.com/phoenixframework/phoenix) web framework on the server.
- Erlang
- Elixir
- cd to project directory
- Install dependencies with
mix deps.get
- Start server with
mix phoenix.start
Now you can visit localhost:4000
from your browser.
- If you choose to change the application's structure, you could manually start the router from your code like this
EditOnServer.Router.start