Re:Why SQLite Is Taking over with Brian Holt and Marco Bambini
by mg on Wednesday June 12, 2024 @07:47AM
(#40656965)
You just need a wsgi.py file:
Put that file in /var/www/mysite/mysite/wsgi.py, point your webserver to that file and you are good to go. In Apache you do it like this:
[ Parent
| on HN ]
Re:Why SQLite Is Taking over with Brian Holt and Marco Bambini
by pjc50 on Wednesday June 12, 2024 @07:56AM
(#40657049)
> import django
Not really in one file, is it?
Re:Why SQLite Is Taking over with Brian Holt and Marco Bambini
by TeMPOraL on Wednesday June 12, 2024 @08:20AM
(#40657251)
If you somehow managed to shove Python and Django into https://redbean.dev/2.0.html, then it might just work as bona fide one file.