https://github.com/skoro/hack-project
Hack lang project boilerplate
https://github.com/skoro/hack-project
boilerplate hacklang hhvm project-template
Last synced: 7 months ago
JSON representation
Hack lang project boilerplate
- Host: GitHub
- URL: https://github.com/skoro/hack-project
- Owner: skoro
- Archived: true
- Created: 2022-08-13T14:31:57.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T18:58:46.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T18:24:53.733Z (8 months ago)
- Topics: boilerplate, hacklang, hhvm, project-template
- Language: Dockerfile
- Homepage:
- Size: 1.57 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Hack lang project boilerplate
This is [Hack](https://docs.hhvm.com/hack/) project boilerplate based on steps from the official [documentation](https://docs.hhvm.com/hack/getting-started/starting-a-real-project).
## Getting started
Make sure [Docker](https://docs.docker.com/engine/install/) is installed on your development environment, this is the most preferable way to get started with Hack language.
Build the application image:
```sh
docker-compose build --no-cache
```Install dependencies:
```sh
docker-compose up -d
docker-compose exec hhvm composer install
```Check that the application is working:
```sh
curl http://localhost/
```## VSCode
Install [Hack](https://marketplace.visualstudio.com/items?itemName=pranayagarwal.vscode-hack) extension, open the extension settings and configure the following parameters:
- Remote mode: `docker`
- Container name: `YOUR_PROJECT`
- Workspace path: `/var/www`