IRC log of #novawebdev for Tuesday, 2018-06-26

*** ubuntourist has joined #novawebdev07:30
*** replaceafill has joined #novawebdev10:53
*** mr_german has joined #novawebdev12:49
mr_germanhello replaceafill, my apologies for the delay12:50
replaceafillhello mr_german12:50
replaceafillmr_german, let me know when you have the integration working12:51
mr_germanreplaceafill, ok12:51
mr_germanreplaceafill, I have my intance running13:20
replaceafillmr_german, including helios?13:20
mr_germanno yet.13:20
mr_germanim reading the doc13:21
replaceafillmr_german, ok13:21
mr_germanreplaceafill, i need to create a different directory for helios?13:29
replaceafillmr_german, yes13:29
mr_germanreplaceafill, should I export the variables13:32
mr_germanfor celery?13:33
mr_germanin this case13:33
replaceafillmr_german, yes13:33
mr_germanreplaceafill, tendenci and helios intances created13:35
replaceafillmr_german, ok13:35
replaceafillmr_german, make sure both instances work independently13:39
replaceafillmr_german, before you try to set CAS, etc13:39
mr_germanyep13:39
mr_germani have tendenci running in "tendenci:9000" and helios "helios:8000"13:39
mr_germanthey work13:39
replaceafillmr_german, great13:39
mr_germanreplaceafill, so now i have to install13:43
mr_germanmama-cas13:43
mr_germanin tendenci right13:43
mr_german?13:43
replaceafillmr_german, correct13:43
mr_germanreplaceafill, I don't understand this part "Add the mama_cas app to conf.local_settings.INSTALLED_APPS and add this line to conf.local_urls.extrapatterns:"13:45
mr_germanto local.urls.py13:45
mr_german?13:45
replaceafillmr_german, in your tendenci project/instance13:45
replaceafillmr_german, there's a conf directory13:45
mr_germanyep13:46
replaceafillmr_german, then there's a local_urls module13:46
mr_germanyes13:46
mr_germanlocal_setting.py13:46
mr_germantoo13:46
replaceafillmr_german, you need to add the url(...) line there13:46
mr_germanlook13:46
mr_germanhttps://pastebin.com/GewbgBaj13:46
replaceafillmr_german, that's correct13:47
replaceafillmr_german, you need to add mama_cas to INSTALLED_APPS13:47
replaceafillmr_german, in the local_settings module13:47
mr_germanok13:52
mr_germanhttps://pastebin.com/r3XXgfcN13:53
mr_germanhttps://pastebin.com/3w8XnJxC13:53
mr_germanreplaceafill, can you check those13:53
replaceafillmr_german, they look correct13:53
mr_germanreplaceafill, let me do the helios part13:54
replaceafillmr_german, ok13:54
replaceafillmr_german, did you change the theme?13:54
mr_germanto nova13:55
mr_german?13:55
replaceafillmr_german, to include those couple of edits13:55
replaceafillmr_german, yes?13:55
mr_german"$ git clone git@gitlab.com:novawebdevelopment/tendenci_helios.git"13:55
mr_german¿?13:55
replaceafillmr_german, Edit the active NOVA theme and apply these two changes:13:55
mr_germanor the nova base theme13:55
mr_germanreplaceafill, should I create the "top_menu" directory13:57
mr_germanright?13:57
replaceafillmr_german, yes13:57
mr_germanoh13:57
mr_germancool13:57
replaceafillmr_german, i didn't want to type the whole procedure because that's a hack at this moment13:58
mr_germanok13:58
replaceafillmr_german, once i decide how to link back (probably with a setting) we'll land those two changes in the base theme13:58
mr_germanok, i've done this step13:59
mr_germani'll continue13:59
mr_germanwith helios13:59
replaceafillmr_german, kk14:00
replaceafillmr_german, helios is the tricky one... :/14:00
mr_germanyes, i can see that14:00
mr_germanlol14:00
mr_germanreplaceafill, where is it? "helios.view_utils.prepare_vars"14:09
replaceafillmr_german, under you helios-server project14:10
replaceafillmr_german, that's python module notation14:10
replaceafillmr_german, in the helios subdirectory, there's a view_utils.py module14:10
replaceafillmr_german, there you'll find a prepare_vars function14:10
replaceafillmr_german, does that make sense?14:11
mr_germanunder14:12
mr_germansetting.py14:12
mr_german?14:12
replaceafillmr_german, no14:12
replaceafillmr_german, you have a helios-server checkout, correct?14:12
mr_germanyes14:12
replaceafillmr_german, inside there's a helios directory, correct?14:12
mr_germanyep14:12
replaceafillmr_german, inside that directory there's a view_utils.py module, correct?14:13
mr_germanohyeah14:13
mr_germanyes14:13
replaceafillmr_german, in that module there's a "def prepar_vars(...)" function14:13
replaceafillprepare_vars*14:14
mr_germanyes14:14
replaceafillmr_german, in the function you'll see a lot of vars_with_user[...] assignments14:14
replaceafillmr_german, add that line to the end14:14
replaceafillmr_german, of those14:14
replaceafillmr_german, you can paste the module if you like14:15
replaceafillmr_german, or the function14:15
mr_germanhttps://pastebin.com/fV1F5aDe replaceafill 14:16
replaceafillmr_german, yes that looks correct14:16
replaceafillmr_german, you don't need it in line 58 though14:17
mr_germanwhat's next14:17
mr_germanah oj14:17
mr_germanok*14:17
replaceafillmr_german, so now you need to start helios again14:17
replaceafillmr_german, including tendenci as an AUTH SYSTEM14:17
replaceafillmr_german, and including your tendenci server as an allowed host14:18
replaceafillmr_german, if everything went right14:18
replaceafillmr_german, you should have an Elections link under the Community dropdown in the megamenu14:18
mr_germanups14:19
mr_germani have one issue14:19
mr_germanwait14:19
mr_germanreplaceafill, https://i.imgur.com/w13Ctgp.png14:21
replaceafillmr_german, from your helios-server project paste the urls.py module14:22
replaceafillmr_german, and the settings.py module14:22
replaceafillmr_german, did you get the Elections link at least?14:23
mr_germanoh wait14:23
mr_germanI have something wrong14:23
replaceafillmr_german, why don't we hang out?14:23
replaceafillmr_german, i can call you now14:23
replaceafillmr_german, or we can meet later14:23
mr_germanif you want, after lunch14:24
mr_germansounds good?14:24
replaceafillmr_german, sure, 2 pm our time?14:24
mr_germanyep14:24
mr_german:)14:24
replaceafillmr_german, ok, you're probably missing a setting or path14:24
replaceafillmr_german, it's all too fragile, so it's understandable14:24
mr_germanyeah, the helios part14:25
replaceafillmr_german, the goal of having you onboard doing this is to help us make it easier14:25
replaceafillmr_german, right14:25
replaceafillmr_german, ok, let's continue at 214:25
mr_germansure14:25
mr_germansee you then, thanks!14:25
mr_germanre14:25
mr_germanreplaceafill, 14:25
replaceafillmr_german, np14:25
replaceafillACTION goes to get lunch14:26
mr_germanACTION goes to take his lunch14:26
replaceafillACTION is back16:01
replaceafillmr_german, ready?16:01
mr_germanreplaceafill, ready give me a moment16:01
mr_germanreplaceafill, call me16:02
mr_germanhttps://pastebin.com/Z9nqNbDC16:09
replaceafill>     ROOT_PATH,16:11
replaceafill>     os.path.join(ROOT_PATH, 'templates')16:11
*** jelkner has joined #novawebdev16:38
jelknerping replaceafill 16:38
replaceafilljelkner, i'm in a meeting with mr_german16:38
jelknermy apologies16:38
replaceafilljelkner, no problem16:39
replaceafilljelkner, just can't run two threads :)16:39
jelkner+116:39
jelknerACTION can't walk and chew gum at the same time, so he understands fully!16:39
replaceafill:)16:40
jelknerbrb16:50
*** jelkner has joined #novawebdev16:51
jelknerACTION signs off for today  i have all day tomorrow free see y'all then16:55
replaceafillmr_german,  /e/<id>/vote16:56
replaceafillACTION signs off for the day17:17
*** nrcerna has joined #novawebdev21:25

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!