2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

Adds 'demo' page

- This replaces the 'demo' page on the doc site
This commit is contained in:
Oliver Walters 2022-08-05 11:44:51 +10:00
parent 87499bb5a0
commit c823a4bebc
3 changed files with 31 additions and 4 deletions

View File

@ -6,7 +6,8 @@ description: >-
It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.
# Links # Links
demo-link: https://inventree.readthedocs.io/en/latest/demo/ demo-link:
internal: demo.md
doc-link: https://inventree.readthedocs.io/en/latest/ doc-link: https://inventree.readthedocs.io/en/latest/
deploy-link: deploy-link:
internal: deploy.md internal: deploy.md

View File

@ -8,6 +8,7 @@
<div class="flex-grow xs:flex-none"></div> <div class="flex-grow xs:flex-none"></div>
<nav class="md:mr-auto md:py-1 xs:ml-4 xs:pl-4 xs:border-l xs:border-gray-400 flex flex-wrap items-center text-base justify-center"> <nav class="md:mr-auto md:py-1 xs:ml-4 xs:pl-4 xs:border-l xs:border-gray-400 flex flex-wrap items-center text-base justify-center">
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.demo-link %}">Demo</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.deploy-link %}">Deploy</a> <a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.deploy-link %}">Deploy</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.doc-link %}">Docs</a> <a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.doc-link %}">Docs</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.blog-link %}">Blog</a> <a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.blog-link %}">Blog</a>
@ -19,8 +20,6 @@
<a class="mr-2 hover:cm-gray-1" href="#business">for <strong>business</strong></a> <a class="mr-2 hover:cm-gray-1" href="#business">for <strong>business</strong></a>
<a class="mr-2 hover:cm-gray-1" href="#edu">for <strong>edu</strong></a> <a class="mr-2 hover:cm-gray-1" href="#edu">for <strong>edu</strong></a>
</nav> </nav>
<a href="{{site.demo-link}}" class="inline-flex items-center bg-gray-100 ml-2 border-0 py-1 px-3 focus:outline-none hover:bg-gray-200 rounded text-base mt-4 md:mt-0"> {% endif %}
Open demo
</a> {% endif %}
</div> </div>
</header> </header>

27
demo.md Normal file
View File

@ -0,0 +1,27 @@
---
title: InvenTree Demo
---
Want to take InvenTree for a spin? A working demo of InvenTree is available online at **[https://demo.inventree.org](https://demo.inventree.org)**
### Login Details
Multiple default accounts are provided, as detailed below. Each account is afforded a different set of permissions, so users can see the InvenTree roles/permission system in action
| Username | Password | Description | Login |
| --- | --- | --- | --- |
| allaccess | nolimits | View / create / edit all pages and items | [log in](https://demo.inventree.org/accounts/login/?login=allaccess&password=nolimits) |
| reader | readonly | Can view all pages but cannot create, edit or delete database records | [log in](https://demo.inventree.org/accounts/login/?login=reader&password=readonly) |
| engineer | partsonly | Can manage parts, view stock, but no access to purchase orders or sales orders | [log in](https://demo.inventree.org/accounts/login/?login=engineer&password=partsonly) |
| admin | inventree | Superuser account, access all areas plus administrator actions | [log in](https://demo.inventree.org/accounts/login/?login=admin&password=inventree) |
### Data Persistence
The InvenTree demo database resets to a known state once per day.
- Database records are reset to the latest state of the [demo dataset](https://github.com/inventree/demo-dataset)
- InvenTree software is kept up to date with the latest `inventree:master` available via docker
<div markdown="span" class="alert alert-info" role="alert">
During the update period, the demo server may be inaccessible for a few minutes.
</div>