在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:datopian/frontend开源软件地址:https://github.com/datopian/frontend开源编程语言:CSS 32.8%开源软件介绍:Table of contentsDataHub frontend in Node.js. Quick StartClone the repo, install dependencies using yarn (or npm), and run the server:
Env varsWe use
When running locally, use test api address in API_URL=https://api-testing.datahub.io
BITSTORE_URL=https://pkgstore-testing.datahub.io See the docs for more information. DevelopersThe JavaScript portion of the app, which is responsible for rendering views, comes from a different repo. That repo must be submoduled in and then built: git submodule init && git submodule update To build the CSS:
Now run the server: export API_URL=https://api.datahub.io
export BITSTORE_URL=https://pkgstore.datahub.io
export dev=true
npm start To run in watch mode: # Note the -e which means we watch for changes in templates too
nodemon -e "js html" index.js To run tests (make sure all environment variables are set): yarn test AnalyticsWe use Google Tag Manager to manage all tags (eg, google analytics, optimize and more) so instead of adding a new script into templates, you should consider editing via UI of Tag Manager. Deployment
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论