Skip to content

Commit

Permalink
Merge pull request #37 from Seburan/fix-home-build
Browse files Browse the repository at this point in the history
[home] remove build files from code repository
  • Loading branch information
JackJey authored Jul 13, 2023
2 parents 3ca8b6e + 0f96bb4 commit 40ff75b
Show file tree
Hide file tree
Showing 57 changed files with 17 additions and 51,095 deletions.
16 changes: 15 additions & 1 deletion docs/deploy-to-linux-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ mkcert -install

### Setup .env file

Edit `.env` file to match the `${SERVICE}_HOST` parameter to your the content of the `/etc/hosts` configuration.
Edit `.env` file to match the `${SERVICE}_HOST` parameter to the content of the `/etc/hosts` configuration.

Example with the domain `privacy-sandbox-demos-${SERVICE}.dev`

Expand Down Expand Up @@ -136,6 +136,20 @@ $ npm install
$ npm run cert
```

### Build html documentation

Build the html static files that will be served by the home web server. The build process uses `docusaurus`.

From the project root folder, **navigate to `services/home**` and run :

```sh
# Download package and dependencies (docusaurus)
npm install

# Build the html static files from the markdown docs.
npm run build
```

### Run start scripts

```sh
Expand Down
6 changes: 2 additions & 4 deletions services/home/.gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Dependencies
/node_modules

# Production
# /build
# commit build for easy to deploy
!/build
# Production (do not commit build files)
/build

# Generated files
.docusaurus
Expand Down
Empty file removed services/home/build/.nojekyll
Empty file.
16 changes: 0 additions & 16 deletions services/home/build/404.html

This file was deleted.

1 change: 0 additions & 1 deletion services/home/build/assets/css/styles.466aa0a0.css

This file was deleted.

Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion services/home/build/assets/js/0e384e19.17ee0429.js

This file was deleted.

Loading

0 comments on commit 40ff75b

Please sign in to comment.