-
Notifications
You must be signed in to change notification settings - Fork 2
WebPresentationSpecEng
Sample code for web page construction is now in the repository.
-
Download .15926 Editor 1.5alpha from the link provided on the home page.
-
Install Flask http://flask.pocoo.org/ and Tornado http://www.tornadoweb.org/en/stable/ before running .15926 Editor 1.5alpha.
-
Download from this repository to extensions folder GoogleExt extension. Copy patterns_external.py to patterns folder.
-
Run the Editor and enable an extension. Restart the Editor if asked.
-
Create a new data source or add some sample data source and open it in the data panel.
-
Go to Web in the Main Menu and select "Start/Stop google web preview".
-
Access http://localhost:5000/ in your browser.
-
Fill the form From: Sokolniki, Moscow, Russia, 107014 To: Stantsiya Biryulyovo-Tovarnaya, Moscow, Russia, 117546
Press the button.
Navigate between route page and stop pages.
Try another query, or access the data source in the Editor.
To understand how it works:
-
Read Flask documentation.
-
Look at extension code in webview.py after the comment string #good code begins.
-
Look at web page templates in the templates subfolder of the extension.