# rpi_ide_frontend **Repository Path**: helixin/rpi_ide_frontend ## Basic Information - **Project Name**: rpi_ide_frontend - **Description**: 基于树莓派的webide的前端 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-09-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jv-rover-webide This is js project,use angular framework build it for webide, The backend link is https://github.com/pi-top/jv-rover-backend ## create Create by `angular-cli` and based on [Ant Design of Angular](https://ng.ant.design/docs/introduce/en) (also named `NG-ZORRO`) UI framework ``` $ ng new PROJECT_NAME $ cd PROJECT_NAME $ ng add ng-zorro-antd ``` ## usage ``` $ npm install $ npm start ``` ## build ``` $ npm run build ``` but we recommend the following command: ``` $ npm run build:prod ``` If app is already built, to run built version use: ``` $ npm run node:server ``` ## i18n We support `en|en_US|en_GB` `zh|zh_CN` ## proxy We have `proxy.conf.js` file in project, and we config agent here. eg: ``` const PROXY_CONFIG = [ { context: [ "/login", // API begins ], target: '192.168.x.xxx:8762', // api address secure: false } ]; module.exports = PROXY_CONFIG; ``` It was configed in `package.json`, also the file name can be changed as you like: ``` "start": "ng serve --proxy-config proxy.conf.js" ``` ## request We use ajax to request data, and we have suffix property to determine whether to suffix the URL. You can get more details in our backend project https://github.com/pi-top/jv-rover-backend