Skip to content

Commit

Permalink
vagrant working
Browse files Browse the repository at this point in the history
  • Loading branch information
fazekasda committed Jan 28, 2016
1 parent 2e8f0ad commit ed415a5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
_site/
.sass-cache/
.jekyll-metadata
*/.vagrant
*/notebook
10 changes: 7 additions & 3 deletions JupyterEnv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ This short description will show you, how to set up Your own Python environment
Download and install VirtualBox and Vagrant.

### Step 2
Download this repository https://github.com/fazekasda/MyPythonLeanrPack/archive/master.zip (or clone with git). Uncompress the zip file.
Download this repository https://github.com/fazekasda/MyPythonLeanrPack/archive/master.zip (or clone with git: 'git clone https://github.com/fazekasda/MyPythonLeanrPack.git'), then compress the zip file.

### Step 3
Open a terminal. Enter the folder where You uncompressed the zip file, and enter the MyPythonLeanrPack-master folder and the JupyterEnv folder. (type this command: cd where_uncompressed_the_zip_file/MyPythonLeanrPack-master/JupyterEnv)
Open a terminal. Enter the folder where You uncompressed the zip file, and enter the MyPythonLeanrPack-master folder and the JupyterEnv folder. (type this command: 'cd where_uncompressed_the_zip_file/MyPythonLeanrPack-master/JupyterEnv')

## Step 4
### Step 4
Type this command: 'vagrant up'

### Step 5
Open http://localhost:8888 in your bowser.
25 changes: 16 additions & 9 deletions JupyterEnv/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,28 @@ Vagrant.configure(2) do |config|
sudo apt-get install -y build-essential
# install python2
sudo apt-get install -y python-dev python-setuptools python-pip
sudo apt-get install python-matplotlib python-numpy python-scipy python-pandas python-pandas-lib
sudp pip install numpy scipy matplotlib
sudo pip install jinja2 six requests tornado pyyaml python-dateutil
sudo pip install statsmodels seaborn
sudo pip install bokeh
sudo pip install pandas
sudo pip install ipykernel
#sudo apt-get install python-matplotlib python-numpy python-scipy python-pandas python-pandas-lib
# install python3
sudo apt-get install -y python3-dev python3-setuptools python3-pip
sudo apt-get install python3-matplotlib python3-numpy python3-scipy python3-pandas python3-pandas-lib
# install jupyter
sudo pip install jinja2 six requests tornado pyyaml python-dateutil
sudp pip3 install numpy scipy matplotlib
sudo pip3 install jinja2 six requests tornado pyyaml python-dateutil
sudo pip install statsmodels seaborn
sudo pip3 install statsmodels seaborn
sudo pip3 install jupyter
sudo pip install bokeh
sudo pip3 install bokeh
sudo pip3 install pandas
sudo pip3 install jupyter
#sudo apt-get install python3-matplotlib python3-numpy python3-scipy python3-pandas python3-pandas-lib
# install jupyter
# add python3 kernel to jupyter
sudo ipython3 kernel install
sudo ipykernel install
#sudo ipython kernel install
#sudo ipython3 kernel install
#sympy?
sudo mkdir /vagrant/notebook
SHELL

Expand Down

0 comments on commit ed415a5

Please sign in to comment.