skoro/hack-project

This package is abandoned and no longer maintained. No replacement package was suggested.

Hack lang project boilerplate

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Language:Dockerfile

Type:project

dev-master 2022-11-28 18:58 UTC

This package is auto-updated.

Last update: 2024-10-28 23:16:10 UTC


README

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