yobafromstarvvars 7294dab870 update sportsman serializer | 1 rok temu | |
---|---|---|
admin | 1 rok temu | |
apiviews | 1 rok temu | |
exceptions | 1 rok temu | |
migrations | 1 rok temu | |
models | 1 rok temu | |
serializers | 1 rok temu | |
static | 1 rok temu | |
templates | 1 rok temu | |
views | 1 rok temu | |
.gitignore | 1 rok temu | |
README.md | 1 rok temu | |
__init__.py | 1 rok temu | |
apps.py | 1 rok temu | |
forms.py | 1 rok temu | |
license | 2 lat temu | |
possible_api_requests.txt | 1 rok temu | |
tests.py | 1 rok temu | |
urls.py | 1 rok temu |
A module for processing customer orders implemented as a Django application.
1) Download or clone repository
git clone -b unstable https://git.sharix-app.org/ShariX_Open/sharix-open-webservice-running.git webservice_running
2) Install required dependencies in project settings
INSTALLED_APPS = [
...
'webservice_running',
...
]
3) Connects application routes to the project
urlpatterns = (
[
...
path('webservice/', include("webservice_running.urls"), name='webservice_running'),
...
]
)
4) Delete the migration files in the migrations folder (everything except init.py)
Start test the server:
python manage.py runserver 8000
If the port has not been selected, it is 8000 by default. If selected port is busy, use another one (for example, try increasing port number by 1 until the server starts). A link to the website should appear in the terminal.