Sign inSign up

caesarapp/caesarapp-server

By caesarapp

•Updated almost 8 years ago

caesarapp-server

Image
0

199

caesarapp/caesarapp-server repository overview

⁠Caesar

⁠Requirements

⁠Installation

⁠1. Start Containers and install dependencies

On Linux:

docker-compose up -d

On MacOS:

docker-sync-stack start
⁠2. Install vendors
docker-compose exec composer install
⁠3. Run migrations, install fixtures
docker-compose exec php bin/console doctrine:migrations:migrate
docker-compose exec php bin/console doctrine:fixtures:load
⁠4. Generate the SSH keys for JWT:
mkdir -p var/jwt
openssl genrsa -out var/jwt/private.pem -aes256 4096
openssl rsa -pubout -in var/jwt/private.pem -out var/jwt/public.pem
⁠5. Update .env:
  • Insert pass phrase - JWT_PASSPHRASE
⁠5. Open project

Just go to http://localhost⁠

####Run tests:

APP_ENV=test vendor/bin/phpunit -d memory_limit=-1 #Phpunit

Tag summary

Content type

Image

Digest

Size

235.5 MB

Last updated

almost 8 years ago

docker pull caesarapp/caesarapp-server:develop