- php 7.2 or higher
- MongoDb 4
- RabbitMQ 3
git clone https://github.com/julienj/twity.git
cd twity
composer install
npm install
npm run buildEdit .env file
APP_ENV=prod
APP_SECRET=your-secretMONGODB_URL=mongodb://localhost:27017
MONGODB_DB=symfonyMESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messagesEMAIL_SENDER=no-reply@exemple.com
MAILER_URL=smtp://localhost:25?encryption=&auth_mode=GITLAB_DOMAINE=https://gitlab.exemple.com
GITLAB_CLIENT_ID=my-client-id
GITLAB_CLIENT_ID_SECRET=my-secretIf you choose to setup the Gitlab Oauth, when creating the twity application on your Gitlab account, you will have to
fill in the redirect uri. These uri is http(s)://YOURTWITYDOMAIN/login/gitlab
php bin/console doctrine:mongodb:schema:updatephp bin/console messenger:consume-messagesOr use supervisord
Run this command every day for update provider
php /path/to/app/bin/console app:request-reload-providersphp bin/console app:create-userUse `ROLE_ADMIN for create tou first admin user