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.
Make sure that you have installed Docker and docker-compose.
- Clone this repository
git clone https://github.com/codex-team/capella
cd capella
- In the repository's root build and run Docker containers
docker-compose build
docker-compose up
- 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
- 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.
- Open http://localhost:8081 and see
You're rock!
- To get an access token, uncomment the following line in the
.env
file.
#PROJECT_REGISTRATION_IS_AVAILABLE=True
Then open http://localhost:8081/project and fill up the form.
You will get an integration token.
To use it in a browser, open the page http://localhost:8081/?token=...
with token
passed via get param. This token will be saved in cookies.
Will be added soon 😉