Skip to content

XDomHatter/NKDining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NKDining

Environment Required

  • Runtime: Python >= 3.10
  • Server Backend: Django >= 5.2.8
  • Database: SQLite >= 3.50

Deploy

! Make sure that you have got a necessary environment just like above.

git clone <this_repository_url>
cd NKDining
# migrate database
python ./manage.py makemigrations
python ./manage.py migrate

# run
python ./manage.py runserver <ip>:<port> # use ip 0.0.0.0 if open to other devices

Get Ready

  • Create Admin User

    python ./manage.py createsuperuser
  • Get Menu Ready

    1. view http://<ip>:<port>/admin and use superuser account to login
    2. click 'add' button on the right side of 'Choice lists'
    3. fill the textarea in json format, like
    {"options": ["鸡丝凉面", "肥牛麻辣拌", "扬州炒饭", "精美炒菜", "anything u want"]}
    1. click 'save button' under the page, done.

About

Manage system for NK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors