-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.html
63 lines (52 loc) · 3.1 KB
/
doc.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0067)https://www.fit.vutbr.cz/study/courses/IIS/private/projekt/doc.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2"><style id="stndz-style"></style>
<title>Projekt IIS</title>
<style type="text/css">
table { border-collapse: collapse; }
td, th { border: 1px solid black; padding: 0.3em 0.5em; text-align: left; }
dt { font-weight: bold; margin-top: 0.5em; }
</style>
</head>
<body>
<!-- Zkontrolujte pros?m nastaven? k?dov?n? v hlavi?ce dokumentu
podle pou?it?ho editoru -->
<h1>CRM systém</h1> <!-- Nahradte n?zvem sv?ho zad?n? -->
<dl>
<dt>Autori</dt>
<dd>Róbert Kolcún <!-- Nahra?te skute?n?m jm?nem a e-mailem autora a popisem ?innosti -->
<a href="mailto:[email protected]">[email protected]</a> -
užívatelské prostredie, správa užívateľov
</dd>
<dd>Ján Demčák <!-- Nahra?te skute?n?m jm?nem a e-mailem autora a popisem ?innosti -->
<a href="mailto:[email protected]">[email protected]</a> -
databázové modely a integritné obmedzenia
</dd>
<dt>URL aplikace</dt>
<dd><a href="http://xkolcu00.pythonanywhere.com/">http://xkolcu00.pythonanywhere.com/</a></dd>
<dd></dd>
</dl>
<h2>Uživateľ systému pro testování</h2>
<table>
<tbody><tr><th>Login</th><th>Heslo</th><th>Role</th></tr>
<tr><td>xkolcu00</td><td>123admin321</td><td>Administrátor</td></tr>
<tr><td>majtel</td><td>123majtel321</td><td>Majteľ firmy</td></tr>
<tr><td>veduci</td><td>123veduci321</td><td>Vedúci oddelenia styku so zákaznikmi</td></tr>
<tr><td>pracovnik1</td><td>123pracovnik1321</td><td>Pracovník 1</td></tr>
<tr><td>pracovnik2</td><td>123pracovnik2321</td><td>Pracovník 2</td></tr>
<tr><td>pracovnik3</td><td>123pracovnik3321</td><td>Pracovník 3</td></tr>
<tr><td>pracovnik4</td><td>123pracovnik4321</td><td>Pracovník 4</td></tr>
<tr><td>pracovnik5</td><td>123pracovnik5321</td><td>Pracovník 5</td></tr>
</tbody></table>
<h2>Implementace</h2>
<p>Prípady v use-case diagrame z predmetu IDS sú všetky implementované v scripte crmsystem/views.py. Pre každý prípad užitia je implementovaná samostatná funkcia. Oproti pôvodnemu diagramu neboli urobené žiadne zmeny, všetky prípady boli implementované.</p>
<h2>Instalace</h2>
<ul>
<li>Najprv je potrebné stiahnuť celý projekt, vytvoriť virtuálne prostredie pre python, následne nainštalovať django a widget-tweaks a urobiť migráciu dát</li>
<li>Pre inštaláciu na server je potrebné Django-1.11.0, python3.6, pip, django-widget-tweaks</li>
<li>Rozbaliť archiv, vytvoriť virtuálne prostredie ($python3 -m venv myvenv), zapnúť virtuálne prostredie ($source myvenv/bin/activate), nainštalovať django ($pip install django~=1.11.0) a widget-tweaks ($pip install django-widget-tweaks), vytvoriť databázu ($python manage.py migrate) a následne sputiť server ($python manage.py runserver)</li>
<li>Script pre vytvorenie databázy - initialize_database.sh.</li>
</ul>
<h2>Známe problémy</h2>
<p>Vrámci zadania z IDS a IIS neboli vynechané žiadne implementáčné body.</p>
</body></html>