Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c39f92da authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

Following suggestions both from Laurent and Vincent, rename the Conda environment.

parent e75196bb
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ Should the procedure described below not work at some point I invite you to chec ...@@ -45,7 +45,7 @@ Should the procedure described below not work at some point I invite you to chec
``` ```
conda env create -f environment.yml conda env create -f environment.yml
conda activate formation_cpp conda activate training_cpp_2021
``` ```
Don't forget to activate it each time you intend to run the lecture! Don't forget to activate it each time you intend to run the lecture!
...@@ -73,3 +73,8 @@ docker run -p 8888:8888 registry.gitlab.inria.fr/formations/cpp/gettingstartedwi ...@@ -73,3 +73,8 @@ docker run -p 8888:8888 registry.gitlab.inria.fr/formations/cpp/gettingstartedwi
``` ```
The simply in your browser just simply go to [http://localhost:8888/](http://localhost:8888/). The simply in your browser just simply go to [http://localhost:8888/](http://localhost:8888/).
### BinderHub
A link to a BinderHub instance is given at the top of the project page; foresee few minutes to set up properly the notebooks.
...@@ -53,6 +53,6 @@ RUN /home/${USER}/miniconda3/bin/conda clean -a ...@@ -53,6 +53,6 @@ RUN /home/${USER}/miniconda3/bin/conda clean -a
# Add to the bashrc # Add to the bashrc
RUN echo "alias python=\"python3\"" >> ~/.bashrc RUN echo "alias python=\"python3\"" >> ~/.bashrc
RUN echo "conda activate formation_cpp" >> ~/.bashrc RUN echo "conda activate training_cpp_2021" >> ~/.bashrc
RUN source ~/.bashrc RUN source ~/.bashrc
CMD ["/home/formation/miniconda3/bin/conda", "run", "-n", "formation_cpp", "jupyter", "lab", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root","--NotebookApp.token=''"] CMD ["/home/formation/miniconda3/bin/conda", "run", "-n", "training_cpp_2021", "jupyter", "lab", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root","--NotebookApp.token=''"]
name: formation_cpp name: training_cpp_2021
channels: channels:
- conda-forge - conda-forge
dependencies: dependencies:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment