Skip to content

Latest commit

 

History

History
131 lines (91 loc) · 2.72 KB

File metadata and controls

131 lines (91 loc) · 2.72 KB

How to setup project

cd frontend
make install

Dev

cd frontend
make run

Build

cd frontend
make build

Serve Built files via bun (simple)

cd frontend
make serve

Serve built files via nginx -> pmdaemon -> bun (prod equivalent)

cd frontend
make serve-prod

Test all kind of pages

cd frontend/serve
make curl-all-kind-of-page


How to Test SEO for Your Project

Once your tool is partially or fully completed, you can run validation steps to identify any SEO issues.

Steps for Comprehensive SEO Testing

  1. Open the AI Chat window in your IDE (such as Cursor or Copilot).
  2. Select the relevant files for your tool—mainly the main source file, tools.ts (which contains configurations and details), and any subcomponents if applicable.
  3. Attach the seo.md file.
  4. Run this prompt:
    Go through all the attached files of this tool [tool name] and find any SEO issues based on the instructions provided in #seo.md file.
  5. Wait for the analysis to complete, then fix any issues found.

Testing Specific Sections

If you want to test a particular section (for example, the meta description):

  1. Attach all relevant files.
  2. Run the prompt:
    Check the meta description of the tool [tool name] is valid based on seo.md file.

Improving Results

If you find any SEO issues in your tool that are not addressed in seo.md, you can improve the file by adding those issues along with validation methods.
Make sure to follow the same format for any new sections you

SEO testing tools

Working with DB Files on Backblaze B2

To add or update a database (DB) file for a category:

  1. Upload or Update the DB File

    • Use the following command, replacing the path as needed:

      make update-db-to-b2 path/to/your-db.db
      
    • Naming Convention: Follow consistent naming for all DB files.

    • Important: Do not commit DB files to the repo.

  2. Sync the Database Files from B2 to Local

    After uploading, verify the file by syncing from Backblaze B2 to your local environment:

    make sync-db-to-local
    
  3. Check Synced Files

    • List the locally synced DB files:
      ls db/all_dbs/
      
  4. Referencing in Code

    • Always reference database files in your code using the path:
      db/all_dbs/your-db.db

Deploying to Staging

Step 1: local:

make sync-db-to-local
make run bulid:icons
make deploy-staging-ssr

Step 2: nats03:

cd FreeDevTools
git pull
make sync-db-to-local
make stop-prod
make start-prod