Download a release or git clone
this repository.
Change directories and install dependencies: npm install
Build Pinecone: npm run build
Copy the contents of ./build/
to your project’s static directory:
cp -r ./build/ /path/to/myproj/static/myproj/
Add links to the JavaScript, stylesheet, and potentially the favicon somewhere in the head element of in your template, e.g., ./templates/myproj/index.html
<script src="{% static 'myproj/scripts/pinecone.umd.js' %}"></script>
<link href="{% static 'myproj/styles/pinecone.css' %}" rel="stylesheet">
<link rel="shortcut icon" href="{% static 'myproj/images/favicon.png' %}" type="image/x-icon">
This should be enough for local development. In production, these static files should be collected, e.g.,
python manage.py collectstatic