Skip to content

fletcherjiang/NFT_Marketplace

Repository files navigation

NFT_Marketplace

For Users

Visit the website https://3334.imjyy.com/ directly and use it without installation.

For Developers

The minimum environment and system requirements for installation are as follows:

  • Linux 4.0, CentOS 7.0, Windows 10
  • Python 3.7

Installation Steps

  1. Download the original code file to the server

    git clone https://github.com/fletcherjiang/NFT_Marketplace
    cd NFT_Marketplace
  2. Install the appropriate environment

    pip install -r requirement.txt
  3. Go to the app directory and modify the content of app.py. If you run locally and on the server, you don't need to modify it, but you need to modify your own SSL certificate to replace your own.

    vim app.py
    config.app.run(host='0.0.0.0', debug=True, port=8080, ssl_context=('fullchain.pem', 'privkey.key'))
  4. Change the database settings in config.py

    vim config.py
    app.config['DATABASE'] = {
        'engine': 'peewee.MySQLDatabase',
        'name': 'Your_database_Name',
        'user': 'Database_user_name',
        'password': '',
        'host': 'localhost',
        'port': 3306
    }
  5. Run app.py and open https://127.0.0.1:8000 or your own URL with a browser.

    python app.py

About

NFT Marketplace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published