# Updating Your Portal

To upload your files, you will need to do the following:

* create a folder with the org name for the portal. It will be org-NAME OF COMMUNITY
* Make sure all of your json files are in the folder
* Make sure all of your assets/ images are in the folder.
  * has to be .json, .png, or .jpg

Then,

* Ensure that you have md5 and jq downloaded
* Ensure that you have the manage\_community\_assets.sh script (this is already provided to you when you have a license for the portal)

Finally,

Run one of the following lines of code

To upload or update the portal assets:

```
bash manage_community_assets.sh path/to/org-org_name 2
```

to delete the portal assets:

```
bash manage_community_assets.sh path/to/org-org_name 1
```

Remember to clear your browser cache after updating the portal assets.

## Resources

[Portal Documentation](https://documentation.dnanexus.com/admin/portal-config)

[Full Documentation](https://documentation.dnanexus.com/)

Please email <support@dnanexus.com> to create a support ticket if there are technical issues.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.dnanexus.com/portals/updatingportal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
