Skip to content
Snippets Groups Projects
Commit 29843698 authored by Valentin Groues's avatar Valentin Groues :eyes:
Browse files

Merge branch 'fix/venv' into 'master'

replace virtualenv with venv

See merge request !464
parents aebba900 97e88534
No related branches found
No related tags found
1 merge request!464replace virtualenv with venv
Pipeline #95287 failed
......@@ -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
......
......@@ -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 virtualenv with clean python3 working environment and start using it. Important, currently only python3.6-3.8 are supported
- setup a venv 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 _virtualenv_ (in project directory), by:
Remember, that before working you have to activate _venv_ (in project directory), by:
```bash
. env/bin/activate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment