If you are looking for the Developers API of Twake to make plugins, apps or connectors, go here : Developers API
The development server is a bit different than the production server. The idea is that you want your edited files to be executed by the docker-compose and so you must bind you local code directory to your docker-compose.yml.
cd twakecp twake/docker-compose.yml.dist.dev twake/docker-compose.yml
You can for instance disable Elastic Search if you don't want to use it on development.
### Backend configurationcd twakecp backend/core/app/Configuration/Parameters.php.dist backend/core/app/Configuration/Parameters.phpnano backend/core/app/Configuration/Parameters.php# Set es.host to false
cd twakedocker-compose up -d php nginx
docker-compose exec php php composer.phar install #Could take some timedocker-compose exec nginx yarn installdocker-compose exec nginx yarn build
cd twakedocker-compose stopdocker-compose up -d
You should now be able to access http://localhost:8000
It's better to have hot reloading while working on frontend. But we do not use the same port for docker and for hot reloading.
cd twake/frontend/yarn start
You should now be able to access http://localhost:3000 with hot reloading.