Thanks for this major update. It's time form me to use it with my young
students.


*Christophe BAL*
*Enseignant de mathématiques en Lycée **et développeur Python amateur*
*---*
*French teacher of **math** in a high school **and **amateur **Python *
*developer*

2016-09-05 4:58 GMT+02:00 William Stein <[email protected]>:

>
>
> On Sunday, September 4, 2016, Bill Page <[email protected]>
> wrote:
>
>> Thanks again.
>>
>> I have a question about using the docker image for development and
>> testing. Does it make sense to use docker to help with development?
>> Suppose I clone the smc repo, create a branch, make some changes
>> locally and then in src/dev/docker/
>>
>>   $ make build
>>   $ make run
>>
>> If I understand correctly this should give me a reasonably good way to
>> test my changes locally. If I like what I did, then I could just
>> commit, push my changes and make a pull request. Does that sound OK?
>
>
> Yes.  Also you can do dev through a project in your docker container as
> explained in dev/project.
>
>
>>
>> --
>>
>> BTW, here is another note for people like me who are less familiar
>> with using docker: Rather than using a random port assignment (-P) and
>> leaving the terminal attached to the container as suggested in the
>> README.md, I prefer to create the smc container like this:
>>
>>   $  docker run --name=smc -v ~/smc:/projects -d -p 8080:80
>> williamstein/sagemathcloud
>>
>> This gives the container a name (smc), detaches the terminal and
>> assigns local port 8080 for http (you can use a different unused port
>> and also assign another port for https).  The name makes it easier to
>> refer to the container and to use commands like:
>>
>>   $ docker stop smc
>>   $ docker start smc
>>
>>
> Send a PR updating the readme with the above!
>
>
>>
>>
>>
>> On 4 September 2016 at 18:59, William Stein <[email protected]> wrote:
>> > Hi,
>> >
>> > I've updated the free local Docker SMC build here
>> >
>> >   https://github.com/sagemathinc/smc/tree/master/src/dev/docker
>> >
>> > and also pushed a new image to Docker hub (actually -- I started it
>> > now -- it could take an hour to finish).    The main changes are to
>> > make things much more secure, in case you want to host several users
>> > or a class:
>> >
>> >    - the database password is a random 63 character string now, that
>> > users can't see.
>> >    - the umask defaults to 077 so user files are only visible to
>> themselves.
>> >
>> > Also, I updated all the code for SMC to the latest, which has all the
>> > newest improvements, e.g., avatars at the projects and files level,
>> > new version of Codemirror, better sync, etc.
>> >
>> >  -- William
>> >
>> > On Sat, Aug 27, 2016 at 6:21 AM, Bill Page <[email protected]>
>> wrote:
>> >> Perfect. Thanks.
>> >>
>> >> On 26 August 2016 at 23:49, William Stein <[email protected]> wrote:
>> >>> On Fri, Aug 26, 2016 at 7:30 PM, Bill Page <
>> [email protected]> wrote:
>> >>>> Well um, something is killing my terminal sessions (and maybe the
>> >>>> worksheets too, I am not sure yet) in after about an hour. I assumed
>> >>>> that it is because of the idle timeout.
>> >>>
>> >>> Oops -- idle timeout is the one quota that is implemented.  I've added
>> >>> directions here
>> >>>
>> >>>    https://github.com/sagemathinc/smc/tree/master/src/dev/
>> docker#make-all-users-admins
>> >>>
>> >>> about how to make your user an admin.
>> >>>
>> >
>> >
>> >
>> > --
>> > William (http://wstein.org)
>>
>
>
> --
>
> Best Regards,
> William Stein
>
> CEO, SageMath, Inc.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-cloud" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/sage-cloud/S9WqlcaZ_9k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sage-cloud/CA%2BjwZMi6RqQpRj6KLLUQYrE7sD3piG
> 8SQwx4DPLu3cXM4hMBCQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMi6RqQpRj6KLLUQYrE7sD3piG8SQwx4DPLu3cXM4hMBCQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cloud" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cloud/CAAb4jGn3M9%2BvgXcOy4c%2BBmFYhTuZARDTaWvVH3UMFrwvHh66EQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to