Skip to content

Conversation

@lentinj
Copy link
Collaborator

@lentinj lentinj commented Feb 5, 2024

This pull request forward-ports the work from #703 to main, and completes the to-dos in #672 is now done.

The README still needs more work, but is getting better at least :)

Fixes #672
Fixes #676

To run webpack on node 18 we need to set --openssl-legacy-provider
until we can upgrade webpack.
Automate housekeeping for web2py in a Grunt task
We need an up-do-date pymysql, get it by wrapping a venv around web2py

Add a web2py-run helper to use when running standalone scripts, that
will get the web2py setup right.
This will impact search performance, by forcing all search queries to
go through the unique index before searching.

Remove, replace with google analytics later.
Instead of having to tweak is_testing for production use, check the
request environment to see what server we're using.
Not that we should be using sessions much, if at all.
Scripts to configure nginx/supervisord
Update shebang at the top of web2py.py so it uses the venv by default.
Remove dependencies that are now part of tree-build, rework
instructions to take into account new Grunt rules.

Rework based on the
Ideally this would be separated out into instructions for a production
instance, but at least not mentioning a temporary branch is good.
An empty installation doesn't have /var/db/acme/live/, only
/var/db/acme/.
Nginx falls over if v6 isn't available, which it isn't.
There is no /usr/local/etc/supervisord, it's all in /usr/local/etc.
It's comforting to see what it's doing, and makes error messages more
intelligable.
Move the production installation notes into their own section, mention
the install scripts to be run as root.
There isn't a separate README_SERVER any more, the installation notes
are more choose-your-own-adventure and the gory details are mostly
automatic now.
* Link to MSI installer
* Suggest SQL workbench
@lentinj lentinj merged commit 516b67b into main Feb 5, 2024
@lentinj lentinj deleted the automated-deployment-forward-port branch February 5, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A venv for web2py Notes & to-do's post clean-install

1 participant