mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
P UI: Added frontend publishing for bare-metal (git) (#5277)
* Add SPA views for react #2789 * split up frontend urls * Add settings for frontend url loading * add new UI scaffold * remove tracking insert * add platform app * ensure static indexes work too * add lingui * add lingui config * add mgmt tasks * add base locales * settings for frontend dev * fix typo * update deps * add pre-commit * add eslint * add testing scaffold * fix paths * remove error - tests trip correctly * merge workflow * cleanup samples * use name inline with other tests * Add real worl frontend tests * setup env * tun migrations first * optimize setup time * setup demo dataset * optimize run setup * add test for class ui * rename * fix typo * and another typo * do install * run migrations first * fix name * cleanup * use other credentials * use other credentials * fix qc * move envs to qc * remove create_site * reduce testing env * fix test * fix test call * allaccess user * add ui plattform check * add better check * remove unneeded env * enable debug * reduce wait time * also build frontend on static * add sort plugin * fix order * run pre-commit fixes * add node min version * Docker container (#129) * Fix allocation check for completing build order (#5199) - Allocation check only applies to untracked line items * docker dev Install required node packages to docker development image * add import order settings * cleanout built ui * remove default arg from build * remove eslint * optimize svg * add build step for plattform UI * fix install command * use alpine commands * do not use cache when creating image * Added release pipeline * trigger: ci * Fix ci * Fix ci * Fix ci * fix: workflow * fix: workflow * fix: doubble zipping * fix: doubble zipping * fix: doubble zipping * fix: doubble zipping * fix: doubble zipping * Added frontend-download helper to tasks.py * revert unrelated change * Add frontend step to update task * add frontend stuff to version info * small change to trigger ci * keep terminal output clean * return found versions * fix suggested command * revert small change * move to multiline * add flag to stop frontend compile * make node building optional on static * add node trans to transalte task * ammend commands to use new flag * remove unneeded flag * add warning * add yarn bypass * docstrings * check for docker env --------- Co-authored-by: Oliver <oliver.henry.walters@gmail.com> Co-authored-by: wolflu05 <76838159+wolflu05@users.noreply.github.com>
This commit is contained in:
@ -68,7 +68,7 @@ If desired, the user may edit the environment variables, located in the `.env` f
|
||||
Perform the initial database setup by running the following command:
|
||||
|
||||
```bash
|
||||
docker compose run inventree-dev-server invoke update
|
||||
docker compose run inventree-dev-server invoke update --no-frontend
|
||||
```
|
||||
|
||||
If this is the first time you are configuring the development server, this command will build a development version of the inventree docker image.
|
||||
@ -229,7 +229,7 @@ Any updates which require a database schema change must be reflected in the data
|
||||
To run database migrations inside the docker container, run the following command:
|
||||
|
||||
```
|
||||
docker compose run inventree-dev-server invoke update
|
||||
docker compose run inventree-dev-server invoke update --no-frontend
|
||||
```
|
||||
|
||||
### Docker Image Updates
|
||||
|
@ -132,7 +132,7 @@ The first step is to edit the environment variables, located in the `.env` file.
|
||||
Perform the initial database setup by running the following command:
|
||||
|
||||
```bash
|
||||
docker compose run inventree-server invoke update
|
||||
docker compose run inventree-server invoke update --no-frontend
|
||||
```
|
||||
|
||||
This command performs the following steps:
|
||||
@ -210,7 +210,7 @@ This ensures that the InvenTree containers will be running the latest version of
|
||||
Run the following command to ensure that the InvenTree database is updated:
|
||||
|
||||
```
|
||||
docker compose run inventree-server invoke update
|
||||
docker compose run inventree-server invoke update --no-frontend
|
||||
```
|
||||
|
||||
!!! info "Skip Backup"
|
||||
|
Reference in New Issue
Block a user