Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
SMASCH
scheduling-system
Commits
29843698
Commit
29843698
authored
6 months ago
by
Valentin Groues
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/venv' into 'master'
replace virtualenv with venv See merge request
!464
parents
aebba900
97e88534
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!464
replace virtualenv with venv
Pipeline
#95287
failed
6 months ago
Stage: build
Stage: test
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian-template/postinst
+1
-1
1 addition, 1 deletion
debian-template/postinst
readme.md
+4
-4
4 additions, 4 deletions
readme.md
with
5 additions
and
5 deletions
debian-template/postinst
+
1
−
1
View file @
29843698
...
...
@@ -12,7 +12,7 @@ if [ "$1" = "configure" ] && [ -z "$2" ]; then
ln
-sf
/etc/smasch/smasch.py /usr/lib/smasch/smash/local_settings.py
virtualenv
--python
=
python3
/usr/lib/smasch/env
python3
-m
venv
/usr/lib/smasch/env
chown
smasch:smasch /etc/smasch/smasch.py
chmod
0600 /etc/smasch/smasch.py
...
...
This diff is collapsed.
Click to expand it.
readme.md
+
4
−
4
View file @
29843698
...
...
@@ -17,7 +17,7 @@ python manage.py superworker
## Required software (on ubuntu's OS family):
-
install required dependencies on ubuntu
```
bash
sudo
apt-get
install
python3,
virtualenv,
libcurl4-gnutls-dev, libpng-dev, libfreetype6-dev, libpq-dev, gcc, g++, python3-dev, libgnutls28-dev, libjpeg-dev, libfreetype6-dev, git
sudo
apt-get
install
python3, libcurl4-gnutls-dev, libpng-dev, libfreetype6-dev, libpq-dev, gcc, g++, python3-dev, libgnutls28-dev, libjpeg-dev, libfreetype6-dev, git
```
-
install nodejs
```
bash
...
...
@@ -33,11 +33,11 @@ apt-get install nodejs
git clone ssh://git@git-r3lab-server.uni.lu:8022/NCER-PD/scheduling-system.git
```
-
setup
virtual
env with clean python3 working environment and start using it. Important, currently only python3.6-3.8 are supported
-
setup
a v
env with clean python3 working environment and start using it. Important, currently only python3.6-3.8 are supported
```
bash
cd
scheduling-system
virtualenv
env
-p
python3
python3
-m
venv
env
.
env
/bin/activate
```
...
...
@@ -93,7 +93,7 @@ After database connection is configured setup a database by applying migration s
## Development
Remember, that before working you have to activate _v
irtual
env_ (in project directory), by:
Remember, that before working you have to activate _venv_ (in project directory), by:
```
bash
.
env
/bin/activate
...
...
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