-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path8f030830.86b651a1.js
1 lines (1 loc) · 4.69 KB
/
8f030830.86b651a1.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{153:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return i})),n.d(t,"metadata",(function(){return l})),n.d(t,"rightToc",(function(){return c})),n.d(t,"default",(function(){return p}));var r=n(2),a=n(9),o=(n(0),n(163)),i={id:"development",title:"Development",sidebar_label:"Development"},l={id:"development",title:"Development",description:"## Feature Request",source:"@site/docs/development.md",permalink:"/docs/development",editUrl:"https://github.com/coderoad/coderoad-vscode/edit/master/docs/docs/development.md",sidebar_label:"Development",sidebar:"someSidebar",previous:{title:"Starters",permalink:"/docs/starters"},next:{title:"Environment Variables",permalink:"/docs/env-vars"}},c=[{value:"Feature Request",id:"feature-request",children:[]},{value:"Development",id:"development",children:[{value:"Testing Builds",id:"testing-builds",children:[]}]}],u={rightToc:c};function p(e){var t=e.components,n=Object(a.a)(e,["components"]);return Object(o.b)("wrapper",Object(r.a)({},u,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("h2",{id:"feature-request"},"Feature Request"),Object(o.b)("p",null,"Post an issue. Let's chat."),Object(o.b)("h2",{id:"development"},"Development"),Object(o.b)("p",null,"To run the extension locally:"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},"copy environmental variables from ",Object(o.b)("inlineCode",{parentName:"li"},"/web-app/.env.example")," as ",Object(o.b)("inlineCode",{parentName:"li"},"/web-app/.env")),Object(o.b)("li",{parentName:"ul"},"install dependencies with ",Object(o.b)("inlineCode",{parentName:"li"},"yarn install-all")),Object(o.b)("li",{parentName:"ul"},"build the extension with ",Object(o.b)("inlineCode",{parentName:"li"},"yarn build")),Object(o.b)("li",{parentName:"ul"},"open the extension with the vscode extension debugger by pressing F5. In the new window, open CodeRoad.")),Object(o.b)("h3",{id:"testing-builds"},"Testing Builds"),Object(o.b)("p",null,"To test a packaged build locally:"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},"if on Mac, ensure you have ",Object(o.b)("a",Object(r.a)({parentName:"li"},{href:"https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line"}),"VSCode command line tools")," installed"),Object(o.b)("li",{parentName:"ul"},"run ",Object(o.b)("inlineCode",{parentName:"li"},"yarn package"),". It will build the extension and install it locally."),Object(o.b)("li",{parentName:"ul"},"open a new vscode window and launch the new version of CodeRoad")))}p.isMDXComponent=!0},163:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m}));var r=n(0),a=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var u=a.a.createContext({}),p=function(e){var t=a.a.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):l({},t,{},e)),n},d=function(e){var t=p(e.components);return a.a.createElement(u.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return a.a.createElement(a.a.Fragment,{},t)}},b=Object(r.forwardRef)((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),d=p(n),b=r,m=d["".concat(i,".").concat(b)]||d[b]||s[b]||o;return n?a.a.createElement(m,l({ref:t},u,{components:n})):a.a.createElement(m,l({ref:t},u))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=b;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:r,i[1]=l;for(var u=2;u<o;u++)i[u]=n[u];return a.a.createElement.apply(null,i)}return a.a.createElement.apply(null,n)}b.displayName="MDXCreateElement"}}]);