Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
steering
Commits
1e88eca1
Commit
1e88eca1
authored
2 years ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Use Poetry for the rest
parent
7473dd7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run.sh
+3
-9
3 additions, 9 deletions
run.sh
with
3 additions
and
9 deletions
run.sh
+
3
−
9
View file @
1e88eca1
...
@@ -61,21 +61,15 @@ if [[ $docker == "false" ]]; then
...
@@ -61,21 +61,15 @@ if [[ $docker == "false" ]]; then
### Initializes the project (Development) ###
### Initializes the project (Development) ###
if
[[
$mode
==
"init"
]]
;
then
if
[[
$mode
==
"init"
]]
;
then
echo
"Creating Python VirtualEnvironment"
echo
"Installing dependencies with Poetry"
python3.8
-m
venv python
poetry
install
--no-root
echo
"Activate Environment"
source
python/bin/activate
echo
"Install dependencies"
pip3
install
-r
requirements.txt
echo
"Next you need to create the configuration, run fixtures, migrations and create a superuser."
fi
fi
### Runs Steering in development mode (Virtualenv) ###
### Runs Steering in development mode (Virtualenv) ###
if
[[
$mode
==
"dev"
]]
;
then
if
[[
$mode
==
"dev"
]]
;
then
echo
"Activating Python Environment"
echo
"Activating Python Environment"
source
python/bin/activate
poetry run python manage.py runserver
python manage.py runserver
fi
fi
### Runs Steering in production mode (WSGI) ###
### Runs Steering in production mode (WSGI) ###
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment