UCF / Search-Service-Django

A django based REST API for accessing search data and related data management tools.
0 stars 0 forks source link

Fontawesome 6 pro added to the project. #425

Closed Ramin-Farhadi closed 5 months ago

Ramin-Farhadi commented 5 months ago

Font Awesome 6 Pro package configuration has been added to gulpfile.js and compiled.

To install Font Awesome 6 Pro through node_modules, follow these steps:

  1. Copy the code inside the template.npmrc file and paste it inside the .npmrc file in the root of the project. Don't forget to replace the FA6 Token.
  2. Install the package with npm: npm install --save-dev @fortawesome/fontawesome-pro
  3. Run gulp move-components-fontawesome-6 to compile the font and move it to the static folder.
jmbarne3 commented 5 months ago

Another quick note for the readme update: since we're not providing font-awesome 6 as an optional dependency, we definitely want to add the token step (copying the npmrc file, etc.) into the instructions, but it should just be part of the larger project setup instructions.

No one should really be running the gulp move-components-fontawesome-6 command by itself. It will run when the gulp default or gulp watch commands run. We want this extra step of configuring the token to be integrated into the rest of the regular instructions for setting up working on the project.