Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
assets
conf
static
templates
LICENSE
README.md
__init__.py
app.py
production.ini
requirements.txt
setup.py

README.md

Webvim

Run Vim in a web browser using Docker

Version 1.0.0


Installation

  1. Clone this repo and install dependencies in a python virtual environment.

    $ # Clone the repo
    $ git clone https://github.com/demophoon/webvim
    $
    $ # Setup Virtual Environment with virtualenvwrapper
    $ mkvirtualenv webvim
    $
    $ # or Setup Virtual Environment with virtualenv
    $ virtualenv webvim
    $ cd webvim
    $ source bin/activate
    $
    $ # Install dependencies with setup.py
    $ python setup.py develop
    $ # Or install dependencies with requirements.txt
    $ pip install -r requirements.txt
  2. Preload demophoon/webvim docker container or build from Dockerfile

    $ # Load from Docker Registry
    $ docker run demophoon/webvim +q
    $
    $ # Build from Dockerfile
    $ docker build -t custom/build .
  3. Modify the commands section of production.ini if needed.

  4. Run Webvim and visit http://localhost:9090/ in a browser!

    $ # Run Webvim
    $ webterm_server production.ini

Future

  • Handle all unicode characters in the browser.
  • Tests.

Contributing

Fork, Create topic branch, Submit Pull request.