Upload files

Store the images and documents a project uses as uploads, kept apart from its source code.

Before you start

You need a project. See Create a project.

Upload a file

The steps upload a short refund policy, refund-policy.md:

refund-policy.md
# Refund policy You can return any order within 30 days of delivery for a full refund.Refunds go back to the original payment method within 5 business days.Gift cards are not refundable.
  1. In your project's folder, upload refund-policy.md:
    Shell
    npx veryfront uploads put refund-policy.md --from refund-policy.md
  2. List the project's uploads. You should now see [file] refund-policy.md (190 bytes):
    Shell
    npx veryfront uploads list

Try it in a sandbox

  1. Write the file

  2. Upload it

  3. Check it

Try it out

Use a file in knowledge

  1. Open the file's menu.
  2. Click Add to knowledge base. You should now see Runs open, with a Knowledge Ingest run.

Next steps