File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change 1
1
# python-vagrant
2
- A simply Vagrant instance to run python/django projects, this project can be executed under Windows, Linux or OSX
2
+
3
+ A simply Vagrant instance to run python/django projects, this project can be executed under Linux, OSX or Windows.
3
4
4
5
### Requirements
5
6
@@ -8,20 +9,39 @@ A simply Vagrant instance to run python/django projects, this project can be exe
8
9
9
10
### Set Up
10
11
11
- Open your terminal and located in the project dir
12
+ Open your terminal and go to the project dir
12
13
13
14
This command creates or start the vagrant instance
14
15
``` sh
15
16
$ vagrant up
16
17
```
17
18
18
- This command allow to login on Linux virtual machine to play with it as you wish
19
+ This command allow to login on Linux virtual machine.
19
20
20
21
``` sh
21
22
$ vagrant ssh
22
23
```
24
+ This installation creates a python virtualenv called: ** env** , to use and install packages on it do the following:
25
+
26
+ ``` sh
27
+ $ workon env
28
+ (env)$ cd vagrant
29
+ (env)$ pip install package-name
30
+ ```
31
+
32
+ To turn the vagrant instance off execute next command:
33
+
34
+ ``` sh
35
+ $ vagrant halt
36
+ ```
37
+
38
+ and if you want to destroy the vagrant instance, execute next command
39
+
40
+ ``` sh
41
+ $ vagrant destroy
42
+ ```
23
43
24
44
[ Virtualbox ] :https://www.virtualbox.org/
25
45
[ Vagrant ] :https://www.vagrantup.com/
26
46
27
- ** Free Software, Enjoy it and improve it!**
47
+ ** Enjoy it and improve it!**
You can’t perform that action at this time.
0 commit comments