Sign inSign up

caesarteam/caesar-server

By caesarteam

•Updated over 5 years ago

The server for the Caesar.

Image
0

1M+

caesarteam/caesar-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

163.7 MB

Last updated

over 7 years ago

docker pull caesarteam/caesar-server