Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 1.56 KB

README.md

File metadata and controls

71 lines (45 loc) · 1.56 KB

Watch for Main Repository

Cetan App

Cetan app is an aplication for realtime chatting

Requirement

  • Git Bash
  • Docker Desktop
  • Email Account for sending mail with smtp. (need email and apps password). save it in env
  • env for websocket
PUSHER_APP_ID=whateveryouwant
PUSHER_APP_KEY=whateveryouwant
PUSHER_APP_SECRET=whateveryouwant

Installation

git clone https://github.com/candradimuka-community/cetan.git
cd cetan
cp .env.sample .env
docker-compose up --build -d

you dont have a database migrated. now you can running artisan command like below

Running artisan command

you can running artisan command by :

docker container exec api php artisan command

example for get route list:

docker container exec api php artisan route:list

Running websocket

docker container exec api php artisan websockets:serve

++ Feature

  • Hot Reload NextJs. you dont need rebuild container in development

Development

Contributing

you can contribute by clone this repo, create some changes and create PR

please dont change any dockerfile or docker-compose if you dont know about them

Thanks