wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install virtualenv
git clone https://github.com/awp2016/Libracours
cd Libracours
virtualenv venv
source venv/bin/activate
The virtual environment's name should appear before your username in the terminal prompt if it has been properly activated:(venv) alexandra@Mereu:<current_path>$ instead of alexandra@Mereu:<current_path>$
pip install -r requirements.txt
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver
$ cd <project_directory>
$ docker run -it --rm --name="libracours" \
--volume=<absolute-path-to-project>:/var/local/libracours \
-p 8000:8000 cornel/libracours
$ cd <project_directory>
$ docker run -it --rm --name="libracours" \
--volume=<absolute-path-to-project>:/var/local/libracours \
-p 8000:8000 --entrypoint=/bin/sh cornel/libracours
# python manage.py migrate
# python manage.py createsuperuser
# python manage.py runserver 0.0.0.0:8000
Before contributing please make sure you follow these guidelines:
UpperCamelCase for class names, CAPITALIZED_WITH_UNDERSCORES for constants, and lowercase_separated_by_underscores for other names.Content type
Image
Digest
Size
107.1 MB
Last updated
over 9 years ago
docker pull cornel/libracours