Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/fliphess/django-lighttpd. A basic setup to use django with uwsgi and lighttpd
Something went wrong. Try again.
Files
- Python 58%
- Shell 32%
- Docker 10%
- HTML <1%
README.md
django-lighttpd #
A basic setup to use django with uwsgi and lighttpd (Works on mac osx if you slightly change the requirements)
Requirements #
pythonvirtualenvbuild-essentialpython-devvirtualenvgit
Requires lighttpd version >= 1.4.42 for uwsgi support
Setup #
git clone git@github.com:fliphess/django-lighttpd.git /opt/django
virtualenv /opt/django/.venv
source /opt/django/.venv/bin/activate
pip install -r /opt/django/requirements.txt
cd /opt/django
./manage.py migrate
./manage.py createsuperuser
echo yes | ./manage.py collectstatic
Start #
bin/manage_uwsgi --startbin/manage_lighttpd --start
Dockerize #
Building:
git clone git@github.com:fliphess/django-lighttpd.git
cd django-lighttpd
docker build -t django/lighttpd .
Running:
docker run -i -t --rm --dns 8.8.4.4 -p 8080:8080 django/lighttpd