Comments (3)
See the environment variables set in the .travis.yml file
On Thursday, June 2, 2016, Allen Leis [email protected] wrote:
The various environment settings files lack the proper database settings.
Perhaps we should define it in the base.py file to use ENV variables
(pulled from the .env file).This might be accomplished by copying the version from test.py and then
modifying it to use the env variables.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#61, or mute the
thread
https://github.com/notifications/unsubscribe/AAth7v6ojsteCU9rz5dyahh1BxOcQVHHks5qHzfdgaJpZM4Is7iZ
.
Sent from Gmail Mobile
from cultivar.
@looselycoupled I checked the travis yaml file and there is only one database setting: DATABASE_URL
.
The dev README shows adding a line to the .ENV file for this setting:
DATABASE_URL=postgres://<insertDBUSERNAME>:<insertDBUSERPASSWORD>@127.0.0.1:5432/<insertDBNAME>
Otherwise, I checked the testing.py settings file, and I see the following settings are being pulled from ENV variables:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': environ_setting('DB_NAME', 'trinket'),
'USER': environ_setting('DB_USER', 'postgres'),
'PASSWORD': environ_setting('DB_PASS', ''),
'HOST': environ_setting('DB_HOST', 'localhost'),
'PORT': environ_setting('DB_PORT', '5432'),
},
}
Could you clarify what the intent of this ticket is (e.g., to add something additional to documentation regarding that DATABASE_URL string or to add the database settings to the base.py file from testing.py)?
from cultivar.
Closed via #93.
from cultivar.
Related Issues (20)
- Better Licensing HOT 2
- Citation HOT 2
- Create Trinket Python Library
- Download Bundle HOT 7
- Update/ Edit Dataset Info 400 HOT 2
- star a dataset HOT 2
- Interactive slider for hyperparameter tuning HOT 1
- Handling various data types and models. HOT 1
- Project Codename HOT 17
- Resolve missing migration for starred datasets HOT 1
- Set up demo site on AWS HOT 3
- Examine existing documentation & develop roadmap HOT 1
- Update Celery to 4.0.1 (or latest at the time)
- OAUTH2 signup/login is erroring HOT 1
- Make use of local storage (vs S3) an environmental variable in .env HOT 1
- Remove old requirements.txt file HOT 4
- Dataset Bundle Error when no README
- Uploading a file that exists in another dataset produces a duplicate file error
- Update dev files to make Vagrant and Docker startup work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cultivar.