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

Fix template generation for WWW + Community #77

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

MattIPv4
Copy link
Contributor

Type of Change

Template generation

What issue does this relate to?

cc do-community/glob-tool#85

What should this PR do?

Fixes the logic used to clean up the DigitalOcean WWW/Community page for the tool template generation.

What are the acceptance criteria?

Running npm run demo:dev works as expected, with the resulting tool having the DigitalOcean Community header/footer.

Updating npm run demo:init to call cd demo && WWW_TEMPLATE=true node ../src/cli.js template, and running npm run demo:dev, works as expected, with the resulting tool having the DigitalOcean WWW header/footer.

Updating npm run demo:init to call cd demo && BLANK_TEMPLATE=true node ../src/cli.js template, and running npm run demo:dev, works as expected, with the resulting tool having no header/footer.

@MattIPv4 MattIPv4 merged commit 5003d76 into master Jan 19, 2024
2 checks passed
@MattIPv4 MattIPv4 deleted the MattIPv4/fix-template-generation branch January 19, 2024 23:04
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.

2 participants