Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.18 KB

setting-up-project.md

File metadata and controls

36 lines (29 loc) · 1.18 KB

Setting up a project

Getting the sourcecode

Below we explain the difference between setting up a new project and setting up an existing project:

New project from scratch

To instantiate a new project to running as a subsite you only have to execute one command which will perform multiple steps for you automatically.

composer create-project ec-europa/subsite --stability=dev <dg-name>-<project-id>-reference
docker-compose up -d
docker-compose exec web vendor/bin/run

From existent project from repository

To install locally a project running Toolkit 4 you should run the following commands:

git clone [email protected]:ec-europa/<repository-name>.git
docker-compose up -d
docker-compose exec web composer install
docker-compose exec web vendor/bin/run

Others topics