Skip to content

Commit

Permalink
[docs] Local setup with docker-compose
Browse files Browse the repository at this point in the history
Includes `docker-compose` usage for local environment setup. 
This is related to internal docs for contributions, not main lighthouse webpage docs.

Depends on nuwave#901
  • Loading branch information
robsontenorio authored Aug 8, 2019
1 parent e0ec155 commit c0abc9f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/.github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,24 @@ Then, start Vue Press on development mode (with hot reloading).
> Keep a eye on the console when editing pages.
If an error occurs, it might be necessary to restart the compilation process.

If you use Docker you can start up the environment (including docs) by:

```bash
# start containers
docker-compose up --build

# in another terminal enter to "node" container
docker-compose exec node bash

# install dependencies
yarn

# run on development mode
yarn docs:dev

```
Finally, navigate to http://localhost:8080

## Files

### Creating new files
Expand Down

0 comments on commit c0abc9f

Please sign in to comment.