MartinJH
MartinJH

Reputation: 2609

How to setup a basic symfony2 project after cloning it from github

Disclaimer: I'm new to this git thing.

I have made a fresh repository and pushed an standard, empty symfony2 project to it.

Now I have cloned my repo to another folder to test if I can set it up correctly. So far I can't...

The problem is I'm missing some folders such as cache and vendor as these are ignored in the .gitignore.

So when I try to run $ composer update I get an error since it tries to clear the cache folder which doesn't exist...

Anyone who can explain in simple terms how to setup a freshly cloned standard symfony2 project?

Upvotes: 1

Views: 2897

Answers (1)

MartinJH
MartinJH

Reputation: 2609

It seems the only problem was the missing bin folder. I made a new symfony project, copy/pasted its bin into my cloned project and ran $ composer install as pr. Cerads advice. Then everything went smooth.

Upvotes: 2

Related Questions