Skip to content

Commit

Permalink
commit for manager setting to off
Browse files Browse the repository at this point in the history
  • Loading branch information
bbearce committed Nov 24, 2018
1 parent 293ff37 commit 61d7494
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 145 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,6 @@ def brewculator():

if __name__ == "__main__":
port = int(os.environ.get('PORT', 33507))
manager.run()
# app.run(host='0.0.0.0', port=port)
# manager.run()
app.run(host='0.0.0.0', port=port)

2 changes: 1 addition & 1 deletion static/database_csvs/hops.csv
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
104,Spalt Select (U.S),87,3,5,4,0.5,0.5,0.5,0.5,4,0.5,2,2.5,Medium intensity and pleasant hoppy qualities. Medium-strong aroma with wild American tones.,"Saaz, Tettnanger",USA,Fair,
105,Stella,87.5,14,16,15,1,0.5,4,5,0.5,2,6,8,"Aroma is richly piney on a bed of fruity, pleasant floral hoppiness.","Simcoe, Chinook",Australia,Unknown,"Super high oil content, high alpha, and moderate-low cohumulone make this a very promising hop varietal. Aroma is richly piney on a bed of fruity, pleasant floral hoppiness. A note of aniseed squirms underneath. Similar to Simcoe and Chinook."
106,Sterling,88,6,9,7.5,0.5,3,3,2,0.5,0.5,2,4.5,"Herbal, spicy, pleasant aroma, hint of floral and citrus.",Saaz,USA,Good,"Released in 1998, Sterling is a cross-breed of Saaz, Cascade, Brewers Gold, Early Green, and an N/A variety. Used for aroma and is a good substitute for Saaz. Character is mild, earthy and spicy with floral and citrus hints."
107,Sticklebract,89,9,10,9.5,0.5,4,0.5,0.5,0.5,4,0.5,5,A good alpha hop with a high Selinene content typical of many English hops.,,New Zealand,Unknown,"A triploid variety developed at the DSIR Research Station from
107,Sticklebract,89,9,10,9.5,0.5,4,0.5,0.5,0.5,4,0.5,5,A good alpha hop with a high Selinene content typical of many English hops.,,New Zealand,Unknown,"A triploid variety developed at the DSIR Research Station from
an open pollinated First Choice; high alpha variety released in 1972."
108,Strisselspalt,90,3,5,4,1,0.5,0.5,2,0.5,1,3,2.5,"Medium intensity, pleasant, hoppy.","Crystal, Hersbrucker, Mt. Hood",France,Good,"Similar to Hersbrucker, this hop originates in the Alsace region of France. This hop has a moderate intensity and pleasant aroma."
109,Styrian Aurora,90.25,7,9,8,4,0.5,0.5,3,0.5,1,2,4.5,"Fruity, Spicy",Northern Brewer,Slovenia,Very Good,"Moderate-alpha with powerful hoppy aroma, very versatile - try in US, Belgian, or English ales. Aurora, known also as Super Styrian, is a diploid hybrid between Northern Brewer and a TG seedling of unknown origin. It is a medium early variety, its optimal picking time in Slovenia being between August 23th and 30th. Higher alpha with intense but pleasant aroma similar to Styrian Golding but much lighter with hoppy aroma, suitable for extraction and combination with other varieties"
Expand Down
12 changes: 6 additions & 6 deletions static/database_csvs/sqlite_db_initialization.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ sqlite> .import /Users/bbearce/Documents/thegratefulbrauer/static/database_csvs/


# postgres
\copy gb_constants_fermentables FROM '/Users/bbearce/Documents/Code/Heroku/Python_Brew_App/static/db_constants/fermentables distilled_values.csv' DELIMITER ',' CSV;
\copy gb_constants_hops FROM '/Users/bbearce/Documents/Code/Heroku/Python_Brew_App/static/db_constants/hops.csv' DELIMITER ',' CSV;
\copy gb_constants_styles FROM '/Users/bbearce/Documents/Code/Heroku/Python_Brew_App/static/db_constants/styles.csv' DELIMITER ',' CSV;
\copy gb_constants_yeast FROM '/Users/bbearce/Documents/Code/Heroku/Python_Brew_App/static/db_constants/yeast.csv' DELIMITER ',' CSV;
\copy gb_constants_gravity_correction_chart FROM '/Users/bbearce/Documents/Code/Heroku/Python_Brew_App/static/db_constants/gravity_correction_chart.csv' DELIMITER ',' CSV;
\copy gb_constants_utilization_table FROM '/Users/bbearce/Documents/Code/Heroku/Python_Brew_App/static/db_constants/utilization_table.csv' DELIMITER ',' CSV
\copy gb_constants_fermentables FROM '/Users⁩/⁨bbearce⁩/⁨Documents⁩/⁨Code⁩/⁨Heroku⁩/⁨thegratefulbrauer⁩/⁨static⁩/⁨database_csvs⁩/fermentables distilled_values.csv' DELIMITER ',' CSV;
\copy gb_constants_hops FROM '/Users⁩/⁨bbearce⁩/⁨Documents⁩/⁨Code⁩/⁨Heroku⁩/⁨thegratefulbrauer⁩/⁨static⁩/⁨database_csvs⁩/hops.csv' DELIMITER ',' CSV;
\copy gb_constants_styles FROM '/Users⁩/⁨bbearce⁩/⁨Documents⁩/⁨Code⁩/⁨Heroku⁩/⁨thegratefulbrauer⁩/⁨static⁩/⁨database_csvs⁩styles.csv' DELIMITER ',' CSV;
\copy gb_constants_yeast FROM '/Users⁩/⁨bbearce⁩/⁨Documents⁩/⁨Code⁩/⁨Heroku⁩/⁨thegratefulbrauer⁩/⁨static⁩/⁨database_csvs⁩/yeast.csv' DELIMITER ',' CSV;
\copy gb_constants_gravity_correction_chart FROM '/Users⁩/⁨bbearce⁩/⁨Documents⁩/⁨Code⁩/⁨Heroku⁩/⁨thegratefulbrauer⁩/⁨static⁩/⁨database_csvs⁩/gravity_correction_chart.csv' DELIMITER ',' CSV;
\copy gb_constants_utilization_table FROM '/Users⁩/⁨bbearce⁩/⁨Documents⁩/⁨Code⁩/⁨Heroku⁩/⁨thegratefulbrauer⁩/⁨static⁩/⁨database_csvs⁩/utilization_table.csv' DELIMITER ',' CSV


Loading

0 comments on commit 61d7494

Please sign in to comment.