Code Monkey home page Code Monkey logo

register_game's Introduction

register_game

register game using qr code scan for my niece

Used language and frameworks

  • Python (3.10.8)
  • Django (4.1)
  • Django-sslserver (0.22)
  • Django-compressor (4.1)
  • Django-sass-processor (1.2.2)
  • Django-extensions (3.2.1)
  • HTML5

How to run

on same directory with manage.py, and run command below

 $ python manage.py runsslserver --certificate ./ssl/server.crt --key ./ssl/server.key [Your Local IP Address]:12345

Now, you can access 「https://[Your Local IP Address]:12345/scanner」and 「https://[Your Local IP Address]:12345/admin」 UserName and Password is same.「admin」

When open 「https://[Your Local IP Address]:12345/scanner」, you can see the page like below. scanner-top

You can scan multiple QR codes like below. scanner-used

Add New Product

  1. open Admin page and click 'Products'. Admin-top
  2. click 'Add Product' and fill forms.
    • Product name(required):string
    • Price(required):number
    • Description(optional):string
  3. click 'Save'
  4. open 「https://www.the-qrcode-generator.com/ 」and enter {"product_id":"[ID which you can check on Products in Admin page]"}
  5. save generated QR code.

About 4 ~ 5, you can use other QR Code Generator servises or programs(of course, you can use python libraries)

register_game's People

Contributors

wadaka0821 avatar

Watchers

 avatar

register_game's Issues

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.