Comments (8)
Thanks for pointing that out.
You may run the installation with --prefer-dist
to overcome this problem (for hg).
I'll check and update packages.phundament.com to list every package also as a zip file, so you won't need git
or hg
at all, but PHP mod_ssl.
from app.
Awesome! Glad to have helped (:
On Apr 5, 2013 8:19 AM, "Tobias Munk" [email protected] wrote:
Thanks for pointing that out.
You may run the installation with --prefer-dist to overcome this problem
(for hg).I'll check and update packages.phundament.com to list every package also
as a zip file, so you won't need git or hg at all, but PHP mod_ssl.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-15950551
.
from app.
I'd say the problem is a little bigger as I tried to deploy the app to a composer-enabled cloud server (CloudControl) and they also does not have mercurial, and thus the deploy fails.
Any tip on this?
from app.
What's about --prefer-dist
? All hg files should be available as zips, but I had some issues with git files for dev versions from github.
Could you post here which package fails?
from app.
I thought about it but as I have already installed and I'm currently developing the app, I could not reinstall phundament with this option, right?
The named package is yii-rights (not sure if others will fail after fixing this, though).
I'm quite newbie with composer too (and phundament is the main reason I'm learning how to use it) so please be gentle with my dumb questions XD
from app.
Make a backup first!
But, in general you should always be able to remove folders from vendor and run composer install
or update
with different options again.
So --prefer-dist
should download archives without using git or hg, but it looks like it's not available for some versions, I have to check that.
You should also be able by using git init to create a repo from a Phundament installation. The .gitignore file excludes some directories already.
Don't commit vendor/, but composer.lock and you can create an exact replica of your project by running git pull
and composer.phar install
.
PS: There's a German saying like: There are no dumb questions, but dumb answers.
from app.
Thanks for the tips. I finished the problem adding custom repositories for the mercurial packages, using their zip link instead. This way I still can get updated versions from the other packages, at least.
I'm going to suggest cloudcontrol to run the composer command using --prefer-dist
, or installing mercurial.
from app.
Neither mercurial nor git should be required when using update --prefer-dist
from now on.
With 0.19 (coming soon!) you can also install without additional tools.
from app.
Related Issues (20)
- Error when access: sh: 1: lessc: not found HOT 4
- Error 255: require(/app/src/config/assets-gen/prod.php): failed to open stream HOT 6
- ..
- Unable to get successful install HOT 5
- Can't connect to mariaDB HOT 18
- Phundament with postgres db. HOT 11
- Errors from __DIR__ in class variable initialization HOT 5
- Use net instead of link HOT 3
- No interactive mode for docker-compose on Windows HOT 1
- Phundament update HOT 1
- Permission issues with GitLab runner HOT 8
- Cleaner way to override admin layout for user module HOT 2
- Error parsing reference: local/phd/app: is not a valid repository/tag HOT 13
- volume mount windows info HOT 1
- cron can't access db HOT 1
- Codeception update HOT 1
- composer.lock OR versions. HOT 7
- QUestion about setup.sh HOT 3
- Unfortunately MyApp has stopped. How can I solve this? HOT 1
- Broken link to here for Yii 1 - composer setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app.