Skip to content

kiejo/website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prosemirror.net

These are the sources for http://prosemirror.net

This currently contains a front-page, a bunch of client-side demos, and the server-side code to support the collaborative demo.

Installation

Install Node.js.

Install node submodules

npm install

Build the documentation and all the demos' JavaScript source

make

That will populate the public/ directory with an instance of the website. You could point a webserver at it to try it out.

To work on the demos, or to experiment with the collaborative demo, it is a good idea to use the dev server:

npm run devserver -- --port 8888

That will get you a server at localhost:8888 that serves the files in public/, along with, the collaborative editing backend, and updates the demo pages to use moduleserve to run the demos directly from the source files, rather than using the bundle. You can now edit them and see the changes with a single refresh. (Though the server-side collaborative code still needs a server refresh to update.)

Note that this is not secure (it provides filesystem access of HTTP) and not fast (the browser will fetch each module individually), and should only be used for development, on your local machine, bound to localhost.

About

The prosemirror.net website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.9%
  • HTML 47.0%
  • CSS 3.3%
  • Makefile 0.8%