Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Docker Compose configuration file and deployment script to initialize a development environment #754

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brlin-tw
Copy link
Contributor

@brlin-tw brlin-tw commented Jan 26, 2025

This allows easier access to modify and test the project locally.

Run the following commands to provision and access the development environment:

docker compose --profile=dev up -d
docker exec -it www-moztw-org-dev bash --login

@brlin-tw brlin-tw force-pushed the patch/impl-dev-compose branch 4 times, most recently from 5c01b06 to bf3a1aa Compare January 28, 2025 14:09
…t to initialize a development environment

This allows easier access to modify and test the project locally.

Run the following commands to provision and access the development environment:

```bash
docker compose --profile=dev up -d
docker exec -it www-moztw-org-dev bash --login
```

Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
This change allow one to test the website in an clean environment by running:

```
docker compose --profile=test up -d
```

after:

```
grunt dist
```

and browse <http://localhost:8080> using one's web browser.

Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
@brlin-tw brlin-tw force-pushed the patch/impl-dev-compose branch from bf3a1aa to 7d47110 Compare January 28, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant