-
-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu docs seem incomplete #1316
Comments
@adamkdean What do you expect? |
This is a clone of the The guide also explains setting up nginx and points the site to that public subdirectory. Did you do the nginx bit? |
Thanks for coming back to me @Konafets @jasonvarga. I think the page may be out of date — I've since sorted the issue and have it working both on Ubuntu 22.04 and within a docker container without the use of Sails (which may be of interest to folks like me who are unfamiliar and prefer more traditional setups.) With Ubuntu 20.04, I found that there were compatibility issues with Statamic v4.0.6 and the PHP version (7) bundled with 20.04. While I found resources to upgrade to PHP 8 on Ubuntu 20.04, but given there's only another year of support for 20.04, I figured I'd try 22.04 instead. I spun up a fresh 22.04 box and installed dependencies etc. It comes with PHP 8 so that solved that issue. In the tutorial however there are still a few issues:
This last one was what tripped me up. Easy thing to miss. (Also the public dir, that threw me as well, I missed that detail, but in terms of config it was correct.) If it'd help, I'd be happy to update the document with the additional steps above. Additionally, I now have this running in docker without the use of Sails — is this something you'd consider adding to the docs? e.g. Docker with Sails, Docker manual etc. I'm still working a version of the container that doesn't require building, just running. |
I've now put together a container image so this can be span up easily ( |
If you're able to, that'd be great! We don't use Ubuntu much ourselves. |
I'm not completely familiar with PHP after not using it for 15 years but I'm very familiar with docker, Linux, and such. I've been running through the Ubuntu documentation to try and get Statamic up and running in a Ubuntu container sans additional tooling or aids — the expectation being that Ubuntu VM or Ubuntu container, there shouldn't be too much of a difference.
However, following the documentation for Installing on Ubuntu doesn't lead to a working installation. If anything, it appears that the example.com directory contains just the repo, and not a working site.
Is the Ubuntu documentation tested and validated as working?
What is the expected file output of
composer create-project --prefer-dist statamic/statamic example.com
?To me, this doesn't match what I'd expect. Any assistance would be appreciated.
The text was updated successfully, but these errors were encountered: