Skip to content

Commit 413d85a

Browse files
author
Saurabh Kumar
committed
prepare release
1 parent ba8c629 commit 413d85a

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ deploy:
1313
user: 'theskumar'
1414
password:
1515
secure: xe5yaUqAb0jam6epvEGSUMYt9L5gSRyFLaahTmCDEULP7msj8D45vswV/uEvnjdWdBw5CPuBkhLJXj2vsVMjkWVSa6bBfz79sEdd//70lE07bJA9sBSsXwbB4hxY+jWgW1KTFUNCPFP59L0ZosgYHJMbLcyr8iH2ZI+QzyUrO1U=
16+
on:
17+
tags: true

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# python-dotenv
22

3-
[![Build Status](https://travis-ci.org/theskumar/python-dotenv.svg?branch=master)](https://travis-ci.org/theskumar/python-dotenv)
3+
[![Build Status](https://travis-ci.org/theskumar/python-dotenv.svg?branch=master)](https://travis-ci.org/theskumar/python-dotenv) [![PyPI version](https://badge.fury.io/py/python-dotenv.svg)](http://badge.fury.io/py/python-dotenv)
44

55
Forked from awesome but simpler [django-dotenv](https://github.com/jacobian/django-dotenv). Removes black magic, makes loading .env in settings.py easier, adds remote .env file management capabilities. Works as a drop-in replacement for django-dotenv.
66

@@ -24,7 +24,7 @@ doesn't. Let's fix that.
2424
# Installation
2525

2626
```
27-
pip install git+ssh://[email protected]/theskumar/python-dotenv.git
27+
pip install python-dotenv --upgrade
2828
```
2929

3030
# Usage
@@ -103,37 +103,37 @@ Set remote config variables with `fab config:set,[key],[value]`
103103
```
104104
$ fab config:set,hello,world
105105
[...example.com] Executing task 'config'
106-
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set hello world
106+
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set hello world
107107
[...example.com] out: hello="world"
108108
```
109109

110110
Get a single remote config variables with `fab config:get,[key]`
111111
```
112112
$ fab config:get,hello
113113
[...example.com] Executing task 'config'
114-
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env get hello
114+
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env get hello
115115
[...example.com] out: hello="world"
116116
```
117117

118118
Delete a remote config variables with `fab config:unset,[key]`
119119
```
120120
$ fab config:unset,hello
121121
[...example.com] Executing task 'config'
122-
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env unset hello
122+
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env unset hello
123123
[...example.com] out: unset hello
124124
```
125125

126126
Thanks entirely to fabric and not one bit to this project, you can chain commands like so`fab config:set,[key1],[value1] config:set,[key2],[value2]`
127127
```
128128
$ fab config:set,hello,world config:set,foo,bar config:set,fizz,buzz
129129
[...example.com] Executing task 'config'
130-
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set hello world
130+
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set hello world
131131
[...example.com] out: hello="world"
132132
[...example.com] Executing task 'config'
133-
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set foo bar
133+
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set foo bar
134134
[...example.com] out: foo="bar"
135135
[...example.com] Executing task 'config'
136-
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set fizz buzz
136+
[...example.com] run: dotenv -f /home/me/webapps/myapp/myapp/.env set fizz buzz
137137
[...example.com] out: fizz="buzz"
138138
```
139139

0 commit comments

Comments
 (0)