Visit the website https://3334.imjyy.com/ directly and use it without installation.
The minimum environment and system requirements for installation are as follows:
- Linux 4.0, CentOS 7.0, Windows 10
- Python 3.7
-
Download the original code file to the server
git clone https://github.com/fletcherjiang/NFT_Marketplace cd NFT_Marketplace
-
Install the appropriate environment
pip install -r requirement.txt
-
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'))
-
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 }
-
Run
app.py
and open https://127.0.0.1:8000 or your own URL with a browser.python app.py