Skip to content

Add --frontend-only flag setup.sh#172

Draft
kevinb-khan wants to merge 4 commits intomasterfrom
fei-7369
Draft

Add --frontend-only flag setup.sh#172
kevinb-khan wants to merge 4 commits intomasterfrom
fei-7369

Conversation

@kevinb-khan
Copy link
Copy Markdown

Summary:

The purpose of this flag is to make it so that non-engineers who want to vibe code prototypes within webapp don't have to install as much stuff when setting things up. The flag only has any effect on MacOS machines because it's assumed that all designers are using MacOS.

Issue: FEI-7369

Test plan:

  • Clone the repo and then run 'setup.sh --frontend-only' on a machine that hasn't run the setup script before.

Comment thread Makefile
Comment on lines +31 to +43
frontend-only:
./git_sync.sh
rm -f ~/.profile-generated.khan && touch ~/.profile-generated.khan
if [ `uname -s` = Darwin ]; then \
./mac-setup.sh --frontend-only; \
fi
./setup.sh --frontend-only
@echo "*** YOU MUST REBOOT **IF** this was ***"
@echo "*** the first time you've setup ***"
@echo "*** khan-dotfiles (i.e. if you are ***"
@echo "*** onboarding) ***"
@echo "*** (Reboot is required for browser ***"
@echo "*** to pickup CA for khanacademy.dev) ***"
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonahgoldsaito this is okay for now. I think we'll want to figure out a way to dedupe the code a bit before landing this. I'll do some thinking on how to do that.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I noticed the annoying duplication.
TBH I didn't push to hard shaming it with DRY principles 😆

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like, come on newb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants