/srv/irclogs.ubuntu.com/2017/08/11/#ubuntu-us-mi.txt

greg-gcmaloney: just to double check my thinking: for your pelican blog you have, which bits in git? just the content dir? or the whole pelican dir but excluding a bunch of stuff?01:55
greg-gdid people see this? Next total solar eclipse in the US is in 7 years, really close to michigan: https://www.timeanddate.com/eclipse/map/2024-april-8#02:05
greg-gtotality that is, A2 will get 98% coverage02:05
greg-gI think I need to plan a trip to Carrie's parents (in Chelsea) then drive down to Oberlin or something for the 4 minutes of totality02:05
greg-gwe should all meet up :)02:05
greg-gwhat are YOU doing in 7 years? :P02:06
_stink__probably just dicking around on irc02:21
greg-g_stink__++02:24
=== Zimdale is now known as Guest57005
=== Zimdale is now known as Guest53272
=== Guest53272 is now known as Zimdale
jrwrengreg-g: planning on similar if the world still exists in 2024. See you there.12:28
greg-gjrwren: word13:35
brouschjrwren: You did pretty well against your bees http://woodtv.com/2017/08/10/man-hospitalized-after-accidentally-setting-self-on-fire/14:40
jrwrenlol, that idiot tried to kill a nest using fire. that is just foolish.14:41
cmaloneygreg-g: We've already consoled ourselves with the next totality being in 7 years15:15
cmaloney:)15:15
cmaloneyre: Pelican: I have it all in git, but I publish bia rsync15:15
cmaloneys/bia/via/15:15
greg-gcmaloney: the whole venv?15:16
cmaloneyno, I have the venv in a separate dir15:16
cmaloneybut that's how my home setup is15:16
greg-gcan you give me an example?15:16
* greg-g is inexperienced with real use of venvs15:16
greg-g(tell me if now isn't a good time, i can wait for delayed responses ;) )15:17
cmaloneyNah, it's alright15:19
cmaloneyJoDee was just offered a full-time position at Mid Michigan Community College and we finished running hte numbers. She's not taking it.15:19
cmaloneyso it's a little emotional over here15:19
greg-gYay & :(15:19
greg-gtotally, do your thing15:19
greg-gI'm happy she was offered the position though!15:20
cmaloneyYeah, they really want her, but I don't think she could grow the program the way they want15:20
greg-g:/15:20
cmaloneyOh totally. She's a God-Damn professional15:20
cmaloneybut it's a small pond (mostly made up of locals and kids who majored in alcohol)15:20
cmaloneywho flunked out of CMU15:21
greg-ggot it15:21
jrwrenbummer.15:21
cmaloneyand that's not a way to grow an astronomy program15:21
cmaloneywe ran the numbers and she'd have to pull more students from CMU15:22
cmaloneyanywho, I have pelican in a directory15:22
cmaloneyand I use a script called mkvirtualenv that keeps the venv in ~/.virtualenvs15:22
cmaloneybut you could put the venv wherever you want15:23
cmaloneyI prefer to keep venvs out of git repos though15:23
cmaloneybecause #1: Python venvs don't work across machines without effort, and b) git isn't great for binaries.15:23
greg-gyeah, that's what I was imagining (to keep it out) so I was just curious how to separate appropriately15:24
cmaloneySo that's two strikes against putting the venv in git15:24
cmaloneyone way would be to use .gitignore to ignore the venv directory15:24
cmaloneyanother would be to put the venev in .. from the pelican install15:25
cmaloneyso it could be pelican_ve/pelican15:25
greg-ggotcha15:25
greg-gthat last part makes more sense to me15:25
cmaloneywhere the binaries are in pelican_ve and the content is in pelican15:25
cmaloneythat last part was how we deployed at Morpace15:26
greg-gcool15:26
cmaloneyThe only downside is you have to be careful if you decide to rebuild the ve15:26
cmaloneyrm -rf ve directory is not going to end well. :)15:26
cmaloneyand if you decide to script this using Ansible it can make things a little difficult15:27
greg-gright right15:27
greg-gI was starting down the path of puppetizing it, but, I stopped :)15:28
cmaloneyYeah15:28
cmaloneyThe only link you need between the ve directory and pelican is the environment activation15:28
cmaloneyso it can live anywhere15:28
cmaloneyPelican uses a makefile for making content15:29
cmaloneyso you can tell it where the Python EXE is by modifying the Makefile15:29
greg-gcmaloney: taha, this is helping so much man, thanks15:30
cmaloneynp. Glad I can give some insight15:36
cmaloneyI use this for three of my sites (decafbad.net, cinciclassic.org, and physastro.com)15:36
=== gamerchick02_ is now known as gamerchick02

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!