skoro / hack-project
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
Requires
- hhvm/hhvm-autoload: ^3.3
- hhvm/hsl: ^4.108
Requires (Dev)
- facebook/fbexpect: ^2.9
- hhvm/hacktest: ^2.4
- hhvm/hhast: ^4.161
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