*** ubuntourist has joined #novawebdev | 07:30 | |
*** replaceafill has joined #novawebdev | 10:53 | |
*** mr_german has joined #novawebdev | 12:49 | |
mr_german | hello replaceafill, my apologies for the delay | 12:50 |
---|---|---|
replaceafill | hello mr_german | 12:50 |
replaceafill | mr_german, let me know when you have the integration working | 12:51 |
mr_german | replaceafill, ok | 12:51 |
mr_german | replaceafill, I have my intance running | 13:20 |
replaceafill | mr_german, including helios? | 13:20 |
mr_german | no yet. | 13:20 |
mr_german | im reading the doc | 13:21 |
replaceafill | mr_german, ok | 13:21 |
mr_german | replaceafill, i need to create a different directory for helios? | 13:29 |
replaceafill | mr_german, yes | 13:29 |
mr_german | replaceafill, should I export the variables | 13:32 |
mr_german | for celery? | 13:33 |
mr_german | in this case | 13:33 |
replaceafill | mr_german, yes | 13:33 |
mr_german | replaceafill, tendenci and helios intances created | 13:35 |
replaceafill | mr_german, ok | 13:35 |
replaceafill | mr_german, make sure both instances work independently | 13:39 |
replaceafill | mr_german, before you try to set CAS, etc | 13:39 |
mr_german | yep | 13:39 |
mr_german | i have tendenci running in "tendenci:9000" and helios "helios:8000" | 13:39 |
mr_german | they work | 13:39 |
replaceafill | mr_german, great | 13:39 |
mr_german | replaceafill, so now i have to install | 13:43 |
mr_german | mama-cas | 13:43 |
mr_german | in tendenci right | 13:43 |
mr_german | ? | 13:43 |
replaceafill | mr_german, correct | 13:43 |
mr_german | replaceafill, 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_german | to local.urls.py | 13:45 |
mr_german | ? | 13:45 |
replaceafill | mr_german, in your tendenci project/instance | 13:45 |
replaceafill | mr_german, there's a conf directory | 13:45 |
mr_german | yep | 13:46 |
replaceafill | mr_german, then there's a local_urls module | 13:46 |
mr_german | yes | 13:46 |
mr_german | local_setting.py | 13:46 |
mr_german | too | 13:46 |
replaceafill | mr_german, you need to add the url(...) line there | 13:46 |
mr_german | look | 13:46 |
mr_german | https://pastebin.com/GewbgBaj | 13:46 |
replaceafill | mr_german, that's correct | 13:47 |
replaceafill | mr_german, you need to add mama_cas to INSTALLED_APPS | 13:47 |
replaceafill | mr_german, in the local_settings module | 13:47 |
mr_german | ok | 13:52 |
mr_german | https://pastebin.com/r3XXgfcN | 13:53 |
mr_german | https://pastebin.com/3w8XnJxC | 13:53 |
mr_german | replaceafill, can you check those | 13:53 |
replaceafill | mr_german, they look correct | 13:53 |
mr_german | replaceafill, let me do the helios part | 13:54 |
replaceafill | mr_german, ok | 13:54 |
replaceafill | mr_german, did you change the theme? | 13:54 |
mr_german | to nova | 13:55 |
mr_german | ? | 13:55 |
replaceafill | mr_german, to include those couple of edits | 13:55 |
replaceafill | mr_german, yes? | 13:55 |
mr_german | "$ git clone git@gitlab.com:novawebdevelopment/tendenci_helios.git" | 13:55 |
mr_german | ¿? | 13:55 |
replaceafill | mr_german, Edit the active NOVA theme and apply these two changes: | 13:55 |
mr_german | or the nova base theme | 13:55 |
mr_german | replaceafill, should I create the "top_menu" directory | 13:57 |
mr_german | right? | 13:57 |
replaceafill | mr_german, yes | 13:57 |
mr_german | oh | 13:57 |
mr_german | cool | 13:57 |
replaceafill | mr_german, i didn't want to type the whole procedure because that's a hack at this moment | 13:58 |
mr_german | ok | 13:58 |
replaceafill | mr_german, once i decide how to link back (probably with a setting) we'll land those two changes in the base theme | 13:58 |
mr_german | ok, i've done this step | 13:59 |
mr_german | i'll continue | 13:59 |
mr_german | with helios | 13:59 |
replaceafill | mr_german, kk | 14:00 |
replaceafill | mr_german, helios is the tricky one... :/ | 14:00 |
mr_german | yes, i can see that | 14:00 |
mr_german | lol | 14:00 |
mr_german | replaceafill, where is it? "helios.view_utils.prepare_vars" | 14:09 |
replaceafill | mr_german, under you helios-server project | 14:10 |
replaceafill | mr_german, that's python module notation | 14:10 |
replaceafill | mr_german, in the helios subdirectory, there's a view_utils.py module | 14:10 |
replaceafill | mr_german, there you'll find a prepare_vars function | 14:10 |
replaceafill | mr_german, does that make sense? | 14:11 |
mr_german | under | 14:12 |
mr_german | setting.py | 14:12 |
mr_german | ? | 14:12 |
replaceafill | mr_german, no | 14:12 |
replaceafill | mr_german, you have a helios-server checkout, correct? | 14:12 |
mr_german | yes | 14:12 |
replaceafill | mr_german, inside there's a helios directory, correct? | 14:12 |
mr_german | yep | 14:12 |
replaceafill | mr_german, inside that directory there's a view_utils.py module, correct? | 14:13 |
mr_german | ohyeah | 14:13 |
mr_german | yes | 14:13 |
replaceafill | mr_german, in that module there's a "def prepar_vars(...)" function | 14:13 |
replaceafill | prepare_vars* | 14:14 |
mr_german | yes | 14:14 |
replaceafill | mr_german, in the function you'll see a lot of vars_with_user[...] assignments | 14:14 |
replaceafill | mr_german, add that line to the end | 14:14 |
replaceafill | mr_german, of those | 14:14 |
replaceafill | mr_german, you can paste the module if you like | 14:15 |
replaceafill | mr_german, or the function | 14:15 |
mr_german | https://pastebin.com/fV1F5aDe replaceafill | 14:16 |
replaceafill | mr_german, yes that looks correct | 14:16 |
replaceafill | mr_german, you don't need it in line 58 though | 14:17 |
mr_german | what's next | 14:17 |
mr_german | ah oj | 14:17 |
mr_german | ok* | 14:17 |
replaceafill | mr_german, so now you need to start helios again | 14:17 |
replaceafill | mr_german, including tendenci as an AUTH SYSTEM | 14:17 |
replaceafill | mr_german, and including your tendenci server as an allowed host | 14:18 |
replaceafill | mr_german, if everything went right | 14:18 |
replaceafill | mr_german, you should have an Elections link under the Community dropdown in the megamenu | 14:18 |
mr_german | ups | 14:19 |
mr_german | i have one issue | 14:19 |
mr_german | wait | 14:19 |
mr_german | replaceafill, https://i.imgur.com/w13Ctgp.png | 14:21 |
replaceafill | mr_german, from your helios-server project paste the urls.py module | 14:22 |
replaceafill | mr_german, and the settings.py module | 14:22 |
replaceafill | mr_german, did you get the Elections link at least? | 14:23 |
mr_german | oh wait | 14:23 |
mr_german | I have something wrong | 14:23 |
replaceafill | mr_german, why don't we hang out? | 14:23 |
replaceafill | mr_german, i can call you now | 14:23 |
replaceafill | mr_german, or we can meet later | 14:23 |
mr_german | if you want, after lunch | 14:24 |
mr_german | sounds good? | 14:24 |
replaceafill | mr_german, sure, 2 pm our time? | 14:24 |
mr_german | yep | 14:24 |
mr_german | :) | 14:24 |
replaceafill | mr_german, ok, you're probably missing a setting or path | 14:24 |
replaceafill | mr_german, it's all too fragile, so it's understandable | 14:24 |
mr_german | yeah, the helios part | 14:25 |
replaceafill | mr_german, the goal of having you onboard doing this is to help us make it easier | 14:25 |
replaceafill | mr_german, right | 14:25 |
replaceafill | mr_german, ok, let's continue at 2 | 14:25 |
mr_german | sure | 14:25 |
mr_german | see you then, thanks! | 14:25 |
mr_german | re | 14:25 |
mr_german | replaceafill, | 14:25 |
replaceafill | mr_german, np | 14:25 |
replaceafill | ACTION goes to get lunch | 14:26 |
mr_german | ACTION goes to take his lunch | 14:26 |
replaceafill | ACTION is back | 16:01 |
replaceafill | mr_german, ready? | 16:01 |
mr_german | replaceafill, ready give me a moment | 16:01 |
mr_german | replaceafill, call me | 16:02 |
mr_german | https://pastebin.com/Z9nqNbDC | 16:09 |
replaceafill | > ROOT_PATH, | 16:11 |
replaceafill | > os.path.join(ROOT_PATH, 'templates') | 16:11 |
*** jelkner has joined #novawebdev | 16:38 | |
jelkner | ping replaceafill | 16:38 |
replaceafill | jelkner, i'm in a meeting with mr_german | 16:38 |
jelkner | my apologies | 16:38 |
replaceafill | jelkner, no problem | 16:39 |
replaceafill | jelkner, just can't run two threads :) | 16:39 |
jelkner | +1 | 16:39 |
jelkner | ACTION can't walk and chew gum at the same time, so he understands fully! | 16:39 |
replaceafill | :) | 16:40 |
jelkner | brb | 16:50 |
*** jelkner has joined #novawebdev | 16:51 | |
jelkner | ACTION signs off for today i have all day tomorrow free see y'all then | 16:55 |
replaceafill | mr_german, /e/<id>/vote | 16:56 |
replaceafill | ACTION signs off for the day | 17:17 |
*** nrcerna has joined #novawebdev | 21:25 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!