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

simplify code contributions by fully automating the dev setup. #381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nisarhassan12
Copy link

@nisarhassan12 nisarhassan12 commented Jan 21, 2021

Hi.

I work for Gitpod. This PR adds gitpod config to the repo to make contributions easier for newcomers i.e with a single click it will launch a workspace and automatically:

  • Clone the react-figma repo.
  • Install the dependencies in / and /website i.e webpack webpack-cli webpack-dev-server.
  • Run npm run webpack:watch in the auto-layout example directory.
  • Run yarn start in /website to start the docusaurus server.

This can be helpful for beginners i.e they can start coding instantly without setting anything up.

You can give it a try on my fork of the repo via the following link:

https://gitpod.io/#https://github.com/nisarhassan12/react-figma

This is how it looks:

image

@vercel
Copy link

vercel bot commented Jan 21, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-figma/react-figma/erxf0gzd3
✅ Preview: https://react-figma-git-fork-nisarhassan12-master.react-figma.now.sh

@ilyalesik
Copy link
Member

Looks great. Is it possible to run examples at these configurations?

@nisarhassan12
Copy link
Author

Thanks, @ilyalesik we can run all the examples at workspace startup the current configuration only runs the auto-layout example.

image

Or did you asked something else?

@ilyalesik
Copy link
Member

I'm about plugins launching - is it working?

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.

None yet

2 participants