Git Product home page Git Product logo

PolkLabs

How to add a Project

  1. Add initial info to projectList.json with a unique PROJECT_ID
  2. Create separate json file in /src/assets/json/projects, with the filename matching the PROJECT_ID in projectList.json
  3. Add any necessary content to /src/assets/content/projects/PROJECT_ID/, such as header.png

Optional Prerendering Steps

The previous steps will work on their own but will not show up in google searches

  1. Run python routesGen.py to generate routesFile.txt, needed for prerendering
  2. Edit /src/apps/prerendered/prerender-project.ts, add import for json, add PROJECT_ID to switch case

Publishing

Run npm run ghpages

For prerendering, no longer used

  1. Remove /dist/ folder
  2. Run npm run build, output will be in /dist/PolkLabs/browser
  3. cd into output folder /dist/PolkLabs/browser
  4. git init
  5. git add .
  6. git commit -m "Initial commit"
  7. git remote add origin [email protected]:polklabs/PolkLabs.git
  8. git push --force origin master:gh-pages

To add a blog post, perform the above steps replacing project(s) with blog(s)


This project was generated with Angular CLI version 8.3.20.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Andrew Polk's Projects

elevenlabstoalexa icon elevenlabstoalexa

Generate audio file from ElevenLabs that can be played through Home Assistant Alexa Media Player integration

even-odd-code icon even-odd-code

Website with example of how to write a method that check if number is even

plex-meta-manager icon plex-meta-manager

Python script to update metadata information for items in plex as well as automatically build collections and playlists. The Wiki Documentation is linked below.

survey-of-the-month icon survey-of-the-month

A client and API that allows users to create and take surveys while generating funny survey questions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.