Skip to content

Latest commit

 

History

History
81 lines (57 loc) · 1.69 KB

deployment.md

File metadata and controls

81 lines (57 loc) · 1.69 KB

How to deploy Capella

You can run a clone of Capella for development or usage as your own cloud service on production. There are two ways: Docker containers or set up environment by yourself.

Docker

Make sure that you have installed Docker and docker-compose.

  1. Clone this repository
git clone https://github.com/codex-team/capella
cd capella
  1. In the repository's root build and run Docker containers
docker-compose build
docker-compose up
  1. Run composer in PHP container

Install all dependencies (including require-dev). Use it for development.

docker exec -i capella_php_1 composer install

If you need no dev-dependencies and you are going to run Capella on production then add flag --no-dev

docker exec -i capella_php_1 composer install --no-dev
  1. Create .env config file and fill up params. (optional)

You can copy env file skeleton from sample file capella/capella/.env.sample.

cp .env.sample .env

Capella uses Hawk as error catching service. You can create an account and add a new project.

  1. Open http://localhost:8081 and see

You're rock!

Server environment

Will be added soon 😉