yichiehliu / daimler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Environment Setting

  1. Use CMD

  2. Import requirements.txt

  3. Create virtual env

    • cd to current directory
    • enter
    > virtualenv venv
    > .\venv\Scripts\activate.bat
    
  4. Set Flask

    > set FLASK_APP=server.py
    > set FLASK_ENV=development
    
  5. Create DB

     > flask db init
     > flask db migrate
     > flask initdb
     > flask forge
     > flask run -h 140.xxx.xx.xx -p xxxx
    
  6. Test Backend API service

    • Use Daimler_Based Distributed Mobility Service Internal API Document_v5.md

About


Languages

Language:Python 90.9%Language:JavaScript 3.9%Language:HTML 2.3%Language:CSS 1.7%Language:C 0.8%Language:C++ 0.3%Language:Mako 0.0%Language:Fortran 0.0%Language:PHP 0.0%Language:Shell 0.0%Language:PowerShell 0.0%Language:Batchfile 0.0%