Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 648 Bytes

File metadata and controls

38 lines (24 loc) · 648 Bytes

Personal project to play with python.

Initial setup

Development rely on a python virtual env, to create in the development directory with:

py -3 -m venv venv

Afterwards, using the environement (on Windows) can be done with:

source venv/Scripts/activate

Application can be launched with

winpty python pim-web.py

It should then be reachable on http://127.0.0.1:5000/

winpty python

import logging
from pimconfig import ProductionConfig, DevelopmentConfig, TestingConfig
from pimcore import PimApp
from pimdata import *
pim_app = PimApp(DevelopmentConfig)
pimdata_init(pim_app.config )