nastassiadanilova / geometry.drawings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphical user interface for intellectual systems based on OSTIS project.

See more information at www.ostis.net

See simple examples in "examples" branch commits since October 1, 2015

Steps for running:

  1. Clone ostis geometry system:

     git clone https://github.com/geometryostis/geometry.ostis.git
    
  2. In console tab:

     cd geometry.ostis/scripts
    
  3. Make prepare script:

     ./prepare.sh
    
  4. Move to geometry.ostis folder and remove geometry.drawings subfolder

  5. Clone geometry drawings:

     git clone https://github.com/MikhailSadovsky/geometry.drawings.git
    
  6. In console tab:

     cd geometry.ostis/scripts
    
  7. Make knowledge base building script:

     ./build_kb.sh
    
  8. Make running scripts:

     ./run_sctp.sh
    

    In new console tab

     ./run_scweb.sh
    
  9. Open web browser on localhost:8000

Steps for interface developing:

1-5 steps the same as before

  1. Change permissions:

    Open geometry.ostis/sc-web/server/ws.py

    Change line 23 (write_rights = True)

    Change line 108 (canEdit = True)

    Change line 124 (self.write_message(message, True))

  2. Open any coding tool and import project

    (choose geometry.ostis/geometry.drawings/src/components/drawings/src as project folder)

  3. After making changes: In console tab:

     cd geometry.ostis/scripts
    

    Make update drawings component script:

     ./update_component.sh  - script creates drawing.js file, where all *.js files located
    
  4. Make running scripts:

     ./run_sctp.sh
    

    In new console tab

     ./run_scweb.sh
    
  5. Open web browser on localhost:8000

=======================

About


Languages

Language:JavaScript 99.5%Language:CSS 0.3%Language:Python 0.2%Language:HTML 0.1%