mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-19 18:05:54 +00:00
.devcontainer
Dockerfile
devcontainer.json
postCreateCommand.sh
.github
.vscode
InvenTree
ci
deploy
docker
images
.eslintrc.yml
.gitattributes
.gitignore
.gitpod.yml
.pre-commit-config.yaml
CONTRIBUTING.md
Dockerfile
LICENSE
README.md
RELEASE.md
SECURITY.md
crowdin.yml
docker-compose.yml
docker.dev.env
package-lock.json
package.json
requirements-dev.in
requirements-dev.txt
requirements.in
requirements.txt
setup.cfg
tasks.py
* Added devcontainer configuration files * Added launch.json and improved devcontainer * Added tasks.json * fix: lint * fix: lint * Applied suggestions from codereview * Added more system dependencies and preserve history * devcontainer updates - Add extra environment variables for InvenTree config - Move venv into dev directory (cleaner structure) - Ensure base package requirements get installed - Handle write-permission error for compiling translations - Install test data inside dev directory * Auto create plugin dir and added gh cli * Refactored postCreateCommand into own file * Applied suggestions from codereview Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
15 lines
249 B
Bash
Executable File
15 lines
249 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# create folders
|
|
mkdir -p /workspaces/InvenTree/dev/{commandhistory,plugins}
|
|
cd /workspaces/InvenTree
|
|
|
|
# create venv
|
|
python3 -m venv dev/venv
|
|
. dev/venv/bin/activate
|
|
|
|
# setup inventree server
|
|
pip install invoke
|
|
inv update
|
|
inv setup-dev
|