瀏覽代碼

updated readme

Apostol Mihai 2 年之前
父節點
當前提交
81984d1545
共有 1 個文件被更改,包括 42 次插入0 次删除
  1. 42 0
      README.md

+ 42 - 0
README.md

@@ -1,2 +1,44 @@
 # Market_Place_NFT
 
+## Setup
+
+#### Environment (Windows)
+After cloning the project, install python virtual environment:
+```
+pip install virtualenv
+```
+Go to ```NFTmarket``` folder and create a virtual environment:
+```
+python -m venv virtenv
+```
+Activate virtual environment:
+```
+cd virtenv\Scripts
+./activate
+```
+Go to ```NFTmarket``` folder and install all specified in ```requirements.txt```:
+```
+cd..
+cd..
+pip install -r requirements.txt
+```
+#### First run
+Go to ```NFTmarket/NFTmarket```(where ```manage.py``` is located) folder and create the database
+```
+cd src
+python manage.py migrate --run-syncdb
+```
+Create superuser
+```
+python manage.py createsuperuser
+```
+Run the server
+```
+python manage.py runserver
+```
+Server can be accesed at
+
+[http://127.0.0.1:8000/](http://127.0.0.1:8000/)
+
+[http://127.0.0.1:8000/admin](http://127.0.0.1:8000/admin)
+