[BlueOnyx:24110] Re: Anyone get Django Web framework installed on BO?

Tomohiro Hosaka bokutin at bokut.in
Mon Jul 20 22:57:32 -05 2020


Hello.

A customer runs on the 5208R and 5209R.

It seems that I installed it with anaconda.
I only have experience with pyenv.

The server runs on uwsgi.

crontab -e
# cat /var/spool/cron/user1
@reboot cd /home/.users/dd/user1/works/dj_proj/; export 
PYENV_ROOT="$HOME/.pyenv"; export PATH="$PYENV_ROOT/bin:$PATH"; eval 
"$(pyenv init -)"; uwsgi --ini uwsgi.ini --daemonize uwsgi-daemon.log

reverse proxy
# cat /home/sites/dj_proj.xx/web/.htaccess
RewriteEngine On
RewriteRule   ^(.*/.*)   http://dj_proj.xx:8888/$1 [P]
( unix domain socket may be better )

The above is operating without problems.

As an example.

Thanks,


2020-07-21 10:46 に Raymond Richmond さんは書きました:
> I've got a couple clients asking and I've never even glanced at it on
> this platform before.
> 
> --
> 
> --
> Raymond Richmond
> Omnia Mutantur, Nihil Interit
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx



More information about the Blueonyx mailing list