HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Setting up Vanilla via cURL
I figured it out. You can't post to the form before you've requested the form. I added a curl to the page before posting to it, works great now. # forum setup curl -s http://${SITE}.dev/index.php?p=/dashboard/setup > /dev/null curl -d "Database-dot-Host=localhost" -d "Database-dot-Name=${SITE}" -d "Database-dot-User=root"… -
Setting up Vanilla via cURL
I'm trying to set up a Vanilla site from a bash prompt. I've tried lots of flags in lots of formats (using -F; joining the parameters together with ampersands; and so on) and I either get back the form in HTML with an error, or I get nothing at all. Here's what I tried last: read -p "Name: " SITE curl -d… -
Re: Setting up Vanilla via cURL
Actually, I think you can. I did the same in my ANT script that I use to run tests against my Vanilla plugins, and I use CURL to "trick" Vanilla into configuring a brand new website every time. I just run a single CURL command, posting to the /setup URL, and it works. Note: the CURL is executed using an exec task, which, I…
3 results