Skip to content

skoro/hack-project

Repository files navigation

Hack lang project boilerplate

This is Hack project boilerplate based on steps from the official documentation.

Getting started

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/

VSCode

Install Hack extension, open the extension settings and configure the following parameters:

  • Remote mode: docker
  • Container name: YOUR_PROJECT
  • Workspace path: /var/www

Releases

No releases published

Packages

No packages published