ginduc / odoo-flask-ng

Odoo + Flask + Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dev Notes

Flask App

This flask app is based on the cookiecutter template, Flask Foundation

Initialization
  1. Run required services first:

    docker-compose up

  2. On first run, create your local virtualenv:

    make env

  3. Activate local virtualenv:

    source env/bin/activate

  4. Run the flask app:

    ./manage.py server

  5. Preview in browser: http://127.0.0.1:5000

Shutting down
  1. CTRL + C in the flask app console

  2. deactivate your virtualenv

  3. Stop required services:

    docker-compose stop

Other commands

Execute unit tests:

make test

Execute code linting tool:

make lint

Clean slate:

make clean deps

Display routes:

./manage.py show-urls
Local Odoo
# Admin creds:
admin:admin

# User creds:
demo:demo

About

Odoo + Flask + Angular


Languages

Language:Python 69.7%Language:HTML 28.6%Language:Makefile 1.6%Language:CSS 0.1%