From the cloned repository:
- Simply run
docker-compose upordocker-compose up -d(detached mode) - Stop the containers with
ctrl/cmd cordocker-compose stop(when in detached mode) - Rebuild images
docker-compose up -d --buildthis command recreates the containers from scratch.
The webiste will be available on port 8888 can be modified in docker-compose.yml
docker exec -ti ersmainwebsite_app_1 /bin/bashThis will give you a termina (i: interactive,t: keep stdin open)
- install dependecies by running
composer installinside the container.
Change code as usual from the cloned repository, it will be synced in the container. You might need to clean the cache from inside the container if php is not installed on your machine:
php artisan httpcache:clearphp artisan cache:clearphp artisan view:clear
Version 1.0.1
- clone the project locally
git clone https://github.com/EuropeanRespiratorySociety/ERSMainWebsite FOLDERNAME cd FOLDERNAME- Run
composer installand/orcomposer update - Run
npm install - update your
Homestead.yamlandhostsfile - create a
.envfile (add Cloud CMS credentials, ...) - you should now be able to navigate to the website.
- add a route
- add a controller
- add the views you need
- (optionally add a navigation menu item in the middleware)
- The Parser has been completly rewritten to include the model saved locally.
- The views were simplified
- The views common elements have separated even further to simplify update/re-use.