Step by step installation of Web Portal
Run instruction described here: https://gist.github.com/dmugtasimov/66a56766f25cc5d085fc91c1aaea970b
Fork https://github.com/kolyaflash/webportal_engine and clone the fork
Enter cloned repo:
cd webportal_engine
Activate virtualenv:
workon trytond
Install webportal_engine:
pip install -e . pip install slugify==0.0.1
Create symlinks to actually have editable installation:
ln -s $PWD/trytond_nereid $(dirname `which python`)/../lib/python2.7/site-packages/trytond/modules/nereid ln -s $PWD/nereid_test_module $(dirname `which python`)/../lib/python2.7/site-packages/trytond/modules/nereid_test ln -s $PWD/trytond_webportal_blog $(dirname `which python`)/../lib/python2.7/site-packages/trytond/modules/webportal_blog
Update modules:
trytond-admin -c ./tryton.conf -v -d tryton --all
Restart Tryton Server:
trytond -c ./tryton.conf -v -d tryton --dev
Reconnect Tryton Client and install new modules in client
- In Tryton Client open by double click: Administration -> Modules -> Modules
- Click at "Mark for installation" for "webportal_blog" module
- In tool bar click "Launch action" -> "Perform Pending Installation/Upgrade"
- Click "Start Upgrade"
- Wait until upgrad finishes and click "OK"
- Cancel all wizards
- Find "Nereid" item in the left bar above "Administration" item
Create new website "localhost" at "Nereid" -> "Configuration" -> "Web Sites"
Fork https://github.com/kolyaflash/webportal_server and clone the fork
In a separate console:
cd webportal_server workon trytond pip install Flask-RESTful==0.3.5 vim app.py # set DATABASE_NAME='tryton', TRYTON_CONFIG, app.static_folder according to your installation
Run server:
python ./app.py
Open in browser http://127.0.0.1:5000 or http://127.0.0.1:5000/?edit=1