Added generated static files of Django

This commit is contained in:
Jesús
2018-10-11 19:05:42 -05:00
parent 667d63fb81
commit ddec837518

View File

@@ -74,6 +74,7 @@
./manage.py createsuperuser
# Run with Apache server and wsgi
1. Install WSGI for Apache
@@ -133,16 +134,22 @@
STATIC_ROOT = '/path/to/site/core/static'
6. Create the media/ directory
6. Generated files static of Admin Django (you must be inside the virtualenv).
./manage.py collectstatic
7. Create the media/ directory
cd /path/to/personalsite
mkdir media/
7. Change Permition to media/ at group http
8. Change Permition to media/ at group http
sudo chown -R http:http media/
8. Restart Apache server
9. Restart Apache server
sudo service httpd restart
10. Done!