File tree Expand file tree Collapse file tree 4 files changed +782
-3
lines changed Expand file tree Collapse file tree 4 files changed +782
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,25 @@ See an [interactive visualization](https://coderoad.github.io/coderoad-visual/)
4646
4747Tutorials can be edited directly as markdown on Github.
4848
49+ ## Development
50+
51+ To run the extension locally:
52+
53+ - copy environmental variables from ` /web-app/.env.example ` as ` /web-app/.env `
54+ - install dependencies with ` yarn install-all `
55+ - build the extension with ` yarn build `
56+ - open the extension with the vscode extension debugger by pressing F5. In the new window, open CodeRoad.
57+
58+ To test a packaged build locally:
59+
60+ - if on Mac, ensure you have [ VSCode command line tools] ( https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line ) installed
61+ - run ` yarn package ` . It will build the extension and install it locally.
62+ - open a new vscode window and launch the new version of CodeRoad
63+
4964## Contributing
5065
66+ CodeRoad is an ambitious project, we're always looking for contributors :)
67+
5168See [ CONTRIBUTING.md] ( ./CONTRIBUTING.md ) .
5269
5370## License
Original file line number Diff line number Diff line change 2626 "scripts" : {
2727 "build" : " ./scripts/build.sh" ,
2828 "postinstall" : " node ./node_modules/vscode/bin/install" ,
29- "install-all" : " yarn && cd web-app && yarn " ,
29+ "install-all" : " yarn && yarn --cwd web-app" ,
3030 "lint" : " eslint src/**/*ts" ,
3131 "package" : " ./scripts/package.sh" ,
32- "storybook" : " cd web-app && npm run storybook" ,
32+ "storybook" : " yarn --cwd web-app storybook" ,
3333 "test" : " jest" ,
3434 "watch" : " tsc -watch -p ./"
3535 },
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ tsc -p ./
1212
1313# build web app
1414cd web-app
15- npm run build
15+ yarn build
1616cd ..
1717
1818# For Windows build: switch the next 2 lines
You can’t perform that action at this time.
0 commit comments