On Oct 30, 2012, at 2:47 PM, Andreas Paeffgen wrote:
> Hi,
> on Macos 10.7.4 and the .app - version of sage, i can start the notebook
> server over the application menu.
>
> I want to set some default settings like ipadress and security=true.
>
> I do not want to start the notebook server via the terminal, because than the
> terminal has to be open all the time.
>
> Any hints where and how to put a prefrence file would be great.
> The following options should be included:
>
> sage: notebook(address="ipaddress",port=8100,secure=True)
Unfortunately, that's not very easy right now. I plan to fix it in the
future--it won't be very hard. First I have to get some other stuff merged
though. I just need to get back in the swing of getting things reviewed.
Here's what you can do right now:
1. Find Sage.app in the Finder
2. Right-click and "Show Package Contents"
3. Navigate to Contents/Resources
4. Edit start-sage.sh
5. On line 55 it says
./sage --notebook >> "$SAGE_LOG" 2>> "$SAGE_LOG"
change this to whatever you need. In your case
./sage --notebook port=8100 secure=True address="ipaddress" >> "$SAGE_LOG"
2>> "$SAGE_LOG"
HTH,
Ivan
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.