Skip to content

AlexHongHMA/cafe-order66

Repository files navigation

django_restAPI_template

Template for restAPI in Django Python

Set Python environment

python3 -m venv .venv
source .venv/bin/activate

Check current Python path

where python

Install packages

pip install -r requirements.txt

Run Application

python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver

Mac odbc driver

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
HOMEBREW_ACCEPT_EULA=Y brew install msodbcsql18 mssql-tools18

Window odbc driver

msiexec /i msodbcsql.msi ADDLOCAL=ALL

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published