在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:cc-archive/cccatalog-frontend开源软件地址:https://github.com/cc-archive/cccatalog-frontend开源编程语言:Vue 49.6%开源软件介绍:Project TransferredThis project was transfered to WordPress:
For additional context see:
cccatalog-frontendCC Search is the official web application for the Creative Commons Catalog API . CC Search is an interface to search for content that is licensed under Creative Commons licenses or marked with public domain tools. This repositiory contains all the front-end code. The application is avaliable at search.creativecommons.org. TechnologyThe frontend app is built using Vue.JS and NuxtJS. You can learn more about the migration to Nuxt.js here. The user interface is powered by Vocabulary, Creative Common's design system. If you have an issue with colors or a specific ui component, it should probably go in that repository. Local DevelopmentRun the following commands in order to have the code up and running on your machine: # installs dependencies
npm install
# Builds and serves assets with hot-reload
npm run dev Docker setupAlternatively, you can use Docker to build and run the application. You just have to run: docker-compose up You should now have the application running and accessible at http://localhost:8443. You don't need to have the CC Search API running locally to be able to run the frontend application. It's configured to communicate, by default, with the API that's already publicly available. If you wish, you can change the URL of the API that's used during development by setting the Running testsYou can run the unit tests by executing: npm run test localhost tunnelingIf you want to make your local development server accessible to the internet (for testing or showing someone something you're working on), you can use
If you need to run a HTTP version (for example, if you're testing against third-party websites that do not accept the self-signed cerificate generated by the dev server), run the dev server using
Formatting and LintingThe code in this repository is formatted using You will need to fix any linting issues before comitting. We reccommend formatting your JavaScript files on save in your text editor. You can learn how to do this in Visual Studio Code here. VersioningCC Search uses CalVer for version numbering, in the DeploymentDetails about how to deploy the frontend code can be found on the CC Wiki (Accessible to CC Staff only). |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论