social-feed-manager icon indicating copy to clipboard operation
social-feed-manager copied to clipboard

installation on a mac

Open mec3727 opened this issue 11 years ago • 4 comments
trafficstars

Hi I am having some problems installing social feed manager on my mac, when I go through the installation process listed I get nowhere but I did find instructions here: http://dicarve.blogspot.com/2014/04/an-relatively-easy-way-for-installing.html and got lost when it came to creating the twitter application and changing the database information

mec3727 avatar Jun 04 '14 14:06 mec3727

Hi @mec3727, it's great to see that you want to get the app running. As you probably noticed in the README, we mainly develop and test on ubuntu so these OSX instructions aren't "mainstream", as it were, but you can definitely get the app working.

Can you give us some more details on where you're at? What's the last thing you tried? Where exactly are you in Arie's instructions, and what errors are you seeing?

dchud avatar Jun 04 '14 15:06 dchud

I got to the create an application part, I didn't exactly know what to put in for a URL but at the step right before that I got this error:

Command python setup.py egg_info failed with error code 1 in /Users/Meghan/social-feed-manager/ENV/build/psycopg2
Storing debug log for failure in /Users/Meghan/.pip/pip.log

and then I see this:

ADMINS = (
    ('Your Name', '[email protected]'),
)

MANAGERS = ADMINS

# This value should be something like [sfm-test] (with a trailing space)
EMAIL_SUBJECT_PREFIX = ' '
# Set SERVER_EMIL to root@myserver, e.g. '[email protected]'
SERVER_EMAIL = ''

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'sfm',
        'USER': '',
        'PASSWORD': '',
                               [ Read 59 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell
  [Restored]

thank you for your help

mec3727 avatar Jun 04 '14 15:06 mec3727

(Note that I added triple-backticks around the error messages in your last comment to make it easier to read, please consider doing this when you add system output to a comment, it helps a lot. To see how it works, click the edit button on your comment.)

Okay, let's do this one step at a time, starting with the first error you saw:

Command python setup.py egg_info failed with error code 1 in /Users/Meghan/social-feed-manager/ENV/build/psycopg2

This is the postgresql support library, and it's failing to install. Have you successfully installed postgresql already? This is step 4 in Arie's "requirements" near the top of his post (you should be sure to go through all of them!). If you've installed it, were you able to create the user and database in postgresql?

dchud avatar Jun 04 '14 15:06 dchud

yes, I installed it and did this step:

Meghan=# CREATE USER sfmuser with createdb PASSWORD 'sfmuser_secret'; CREATE ROLE Meghan=# CREATE DATABASE sfmdb WITH OWNER sfmuser; CREATE DATABASE Meghan=#

and I'm sorry I don't understand the triple back ticks, and the only edit button I see is edit in full screen

mec3727 avatar Jun 04 '14 16:06 mec3727