11# python3-django-inventory
2+
23An inventory management system, based on buckets you can place items in
34
45# Install Guide
6+
57** Requirements (Global Installations)**
8+
69 - Python3
710 - NGINX
811 - python3-django
@@ -13,45 +16,46 @@ An inventory management system, based on buckets you can place items in
1316 ** Install Steps**
1417
1518 ** Django**
16- 1 . Create a new User and login as User
17- - `adduser inventory`*
18- - `su - inventory`*
19- 2 . Create Django-Project
20- - `django-admin startproject website`*
21- - `cd website`*
19+
20+ 1 . Create a new User and login as User
21+ - ` adduser inventory `
22+ - ` su - inventory `
23+ 2 . Create Django-Project
24+ - ` django-admin startproject website `
25+ - ` cd website `
2226 3 . Get python3-django-inventory
23- - `git clone https://github.com/ChaosRambo/python3-django-inventory.git inventory`
24- 4. Configure Django
25- - `vim website/settings.py`*
26- - Add to `INSTALLED_APPS`:
27- - `'inventory',`
28- - `'crispy_forms',`
29- - Add to the end of the Settings:
30- - STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
31- 5. Migrate
32- - `./manage.py -- migrate`
33- 6. Optional Step
34- - Test Django
35- - `./manage.py -- runserver`
36- - You will see the Django Test site
37- - 
38- 7. Add URL Config
39- - `vim website/urls.py`
40- - Add if not exists:
41- - `from django.conf. urls import url , include`
42- - Add in `urlpatterns`
43- - `url (r'^', include('inventory.urls', namespace='inventory')),`
44- 8. Collectstatics
45- - `./manage.py -- collectstatics`
46- 9 . Optional Step
47- - Test Django
48- - `./manage.py runserver`
49- - You will see an empty inventory
50- - 
51- 10 . Add Admin
52- - `./manage.py createsuperuser`
53- 11 . Close User
54- - `exit`
27+ - ` git clone https://github.com/ChaosRambo/python3-django-inventory.git inventory `
28+ 4 . Configure Django
29+ - ` vim website/settings.py `
30+ - Add to ` INSTALLED_APPS ` :
31+ - ` 'inventory', `
32+ - ` 'crispy_forms', `
33+ - Add to the end of the Settings:
34+ - ` STATIC_ROOT = os.path.join(BASE_DIR, 'static/') `
35+ 5 . Migrate
36+ - ` ./manage.py migrate `
37+ 6 . Optional Step
38+ - Test Django
39+ - ` ./manage.py runserver `
40+ - You will see the Django Test site
41+ - ![ enter image description here] ( https://github.com/ChaosRambo/python3-django-inventory/blob/master/screenshots/django_testpage.jpeg?raw=true )
42+ 7 . Add URL Config
43+ - ` vim website/urls.py `
44+ - Add if not exists:
45+ - ` from django.urls import path , include, re_path `
46+ - Add in ` urlpatterns `
47+ - ` re_path (r'^', include(( 'inventory.urls', 'inventory') , namespace='inventory')),`
48+ 9 . Collectstatics
49+ - ` ./manage.py collectstatics `
50+ 10 . Optional Step
51+ - Test Django
52+ - ` ./manage.py runserver `
53+ - You will see an empty inventory
54+ - ![ enter image description here] ( https://github.com/ChaosRambo/python3-django-inventory/blob/master/screenshots/empty_inventory.jpeg?raw=true )
55+ 11 . Add Admin
56+ - ` ./manage.py createsuperuser `
57+ 12 . Close User
58+ - ` exit `
5559
5660** uWSGI**
5761
0 commit comments