Giter Club home page Giter Club logo

gla-it-project's Introduction

First Run

  1. Create a virtual environment python3 -m venv <path>
  2. Actavate virtual environment
    • Linux/Mac source <path>/bin/activate
    • Windows <path>\Scripts\activate.bat or <path>\Scripts\Activate.ps1

Update

  1. pull latest code version git pull
  2. update dependencies pip install -r requirements.txt
  3. Model modification create migration python manage.py makemigrations
  4. Application Migration python manage.py migrate --run-syncdb
  5. Populate the databasepython population_script.py
    • Note that after the previous step, ensure that the parameters --run-syncdb are added Make sure the database is created
  6. Start the service django-admin runserver
    • If it doesn't work, check DJANGO_SETTINGS_MODULE environment variable
      • Linux/Mac export DJANGO_SETTINGS_MODULE=auction.settings
      • Windows set DJANGO_SETTINGS_MODULE=auction.settings
      • or specify at startup django-admin runserver --settings=auction.settings
    • If it says the auction module cannot be found, try python manage.py runserver
  7. test

gla-it-project's People

Contributors

aldebaranio avatar brightstr avatar chika99 avatar samchen-glasgow avatar

Stargazers

 avatar

Watchers

 avatar

gla-it-project's Issues

用户竞价前是否需要押金

是需要押金(按照总价格的百分比),还是需要全额。
如果是全额,是先退款再购买(手里100,压了200,可以注300),还是先购买再退款(手里100,压了200,不能注300)。

todo

  • 取消订单
  • 修改订单
  • 修改用户资料
  • 测试
  • 定时结束订单
  • 退还拍卖款
  • 评论,回评

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.