This is Hack project boilerplate based on steps from the official documentation.
Make sure Docker is installed on your development environment, this is the most preferable way to get started with Hack language.
Build the application image:
docker-compose build --no-cache
Install dependencies:
docker-compose up -d
docker-compose exec hhvm composer install
Check that the application is working:
curl http://localhost/
Install Hack extension, open the extension settings and configure the following parameters:
- Remote mode:
docker
- Container name:
YOUR_PROJECT
- Workspace path:
/var/www