You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run php-solid-server on Heroku to give it a look-over, but my deployment is immediately rejected:
ERROR: No 'composer.lock' found!
A 'composer.lock' file was not found in your project, but there
is a 'composer.json' file with dependencies inside 'require'.
The lock file is required in order to guarantee reliable and
reproducible installation of dependencies across platforms and
deploys. You must follow the Composer best practice of having
your lock file under version control in order to deploy. The
lock file must not be in your '.gitignore'.
Please perform the following steps locally on your computer to
resolve this issue before attempting another deploy:
remove 'composer.lock' from file '.gitignore', if present
if no 'composer.lock' exists, run 'composer update'
stage the lock file changes using 'git add composer.lock'
if you edited '.gitignore', also run 'git add .gitignore'
commit the change using 'git commit'
Please remember to always keep your 'composer.lock' updated in
lockstep with 'composer.json' to avoid common problems related
to dependencies during collaboration and deployment.
Aside from Heroku deployments, although I'm not too familiar with the PHP ecosystem, I assume it would be a good idea to commit a lockfile to prevent "works on my machine" issues as well.
(On a tangential note: there's no hosted instance of the server available somewhere that I can run automated tests against, is there?)
The text was updated successfully, but these errors were encountered:
It is considered good practice to commit the lock file to a repository.
The reason we haven't done this yet is becasue are simultaneously developing this standalone version, a Nextcloud version, and the packages that power both.
Some parts are still under heavy development and everything is still somewhat in flux. That is also the reason no hosted instance is live yet.
We are currently in the process of rounding up loose ends, so this is good time for us to start thinking about releasing a deployable version (including a lock file).
We'll keep you posted of any developments on that front here! 👍
I tried to run php-solid-server on Heroku to give it a look-over, but my deployment is immediately rejected:
Aside from Heroku deployments, although I'm not too familiar with the PHP ecosystem, I assume it would be a good idea to commit a lockfile to prevent "works on my machine" issues as well.
(On a tangential note: there's no hosted instance of the server available somewhere that I can run automated tests against, is there?)
The text was updated successfully, but these errors were encountered: