|
@@ -36,7 +36,7 @@ STATIC_URL = '/static/'
|
|
|
STATICFILES_DIRS = [BASE_DIR / "SharixAdmin/static/", BASE_DIR / "tickets/static/"]
|
|
|
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
|
|
|
```
|
|
|
-3. Run a **install.sh**
|
|
|
+3. Run a **install_unix.sh** if you have Linux or if you have Windows run a **install_win.sh**
|
|
|
4. The system will prompt you to create a superuser
|
|
|
```
|
|
|
#Example
|
|
@@ -45,12 +45,16 @@ admin
|
|
|
pa$$w0rd
|
|
|
pa$$w0rd
|
|
|
```
|
|
|
-5. Set up the **bin/butler.sh** file with valid paths
|
|
|
+5. Start test the server:
|
|
|
+```
|
|
|
+python manage.py runserver 8000
|
|
|
+```
|
|
|
+6. Set up the **bin/butler.sh** file with valid paths
|
|
|
|
|
|
```bash
|
|
|
#!/bin/bash
|
|
|
cd /path/to/project
|
|
|
exec /path/to/project/env/bin/gunicorn core.wsgi:application -c core/conf_gunicorn.py
|
|
|
```
|
|
|
-6. It remains to configure Nginx conf and start the daemon
|
|
|
+7. It remains to configure Nginx conf and start the daemon
|
|
|
|