[web2py] Translation and git usage

2014-09-20 Thread Sefa Denizoğlu
Hello there, 
I'm translating the book into Turkish and I've cloned the book from GitHub. 
I then created a 
..sources/43-web2py-turkish-translation-in-progress/
local directory following the convention. I just didn't want to mess with 
Massimo's code directly on the GitHub, so I decided I'd better do some 
translation/editing on new personal repo first. So, I initialized a local 
repo under 43-web2py-turkish-translation-in-progress/ and pushed those 
edits to my personal repo on Bitbucket. 

That's what I did so far:

$ git clone https://github.com/mdipierro/web2py-book.git
$ cd web2py-book/sources
$ web2py-book/sources > mkdir 43-web2py-turkish-translation-in-progress
$ web2py-book/sources > cd 43-web2py-turkish-translation-in-progress
$ web2py-book/sources/43-web2py-turkish-translation-in-progress > edit 
01.markmin
...
(go to bitbucket and make a repo for myself as a sandbox)
...
$ web2py-book/sources/43-web2py-turkish-translation-in-progress > git init 
$ web2py-book/sources/43-web2py-turkish-translation-in-progress > git 
remote add origin 
https://denizo...@bitbucket.org/denizoglu/43-web2py-turkish
$ web2py-book/sources/43-web2py-turkish-translation-in-progress > git add 
*.markmin
$ web2py-book/sources/43-web2py-turkish-translation-in-progress > git 
commit -m "some editing" 
$ web2py-book/sources/43-web2py-turkish-translation-in-progress > git push 
-u origin master
... more commits...

Now I want to push these changes I've done under 
43-web2py-turkish-translation-in-progress directory to the web2py book's 
GitHub repo, BUT while keeping all these editing steps and logs. 
So, how can I do that? It seems to me that if I commit from under 
web2py-book directory now to web2py-book on GitHub, it will be just one 
huge commit with all the previous editings shown in one big diff (which I 
do NOT want), am I mistaken?

And I guess if I add book on GitHub as another remote repo under my local 
43-web2py-turkish-translation-in-progress directory, and if I commit to 
GitHub from under 43-web2py-turkish-translation-in-progress, it will create 
a 43-web2py-turkish-translation-in-progress directory directly under 
web2py-book directory in GitHub, right?

Most possibly it's really a one-line command to do, but I'm new to that git 
thing..


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Book translation

2012-03-19 Thread Sefa Denizoğlu
Hello,
Same here for Turkish translation... it might take a year by my humble
hours I can dedicate now and then.. will be waiting for the heads-up..

On Tue, Dec 27, 2011 at 6:18 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> You will soon be able to do this online.
>
> On Dec 27, 10:03 am, Mirek Zvolský  wrote:
> > I want start translation of the book 4th edition (czech language).
> > Can I read somewhere hints, how to do it?
> > Idea: Can we have menu item in web2py.com/book (Translations?) with such
> > hints?
>



-- 
Sefa Denizoğlu


Re: [web2py] Re: Webfaction: Memory usage way over your limit ; again.

2011-11-26 Thread Sefa Denizoğlu
I have started with webfaction (as I was going to learn Django, and people
suggested them very strongly for Django) a month ago but meanwhile I found
out web2py since I was trying to find my own way of programming IN Python.
Now I went for VPS of Hetzner (and I'm still fiddling with the basics of
apache, virtual hosts and so on) and my website is still not active after 2
weeks, but I find it much more challenging and instructive.

I tried to install web2py with their script and have been given a torrent
of tickets of high memory usage in a couple of hours because I was given
only 80MB of RAM. I still have my acc there and trying to learn drupal in a
ready-to-go environment, but for a custom web app with web2py, I strongly
(but humbly) advise a private server for just a couple of bucks more...

I'm quite new to these, so here's my insignificant two cents.. :)

On Sat, Nov 26, 2011 at 6:24 PM, Plumo  wrote:

> I was migrated to a newer webfaction server and now uwsgi compiles. I
> first tried limiting to 64 MB of memory and 1 process:
>
> uwsgi --http=127.0.0.1:port --pythonpath /user/web2py --module
> wsgihandler -d /user/uwsgi.log -t 20 --async 24 --ugreen --limit-as 64 -r
> --no-orphans -M -p 1 --touch-reload /user/uwsgireload.txt --reload-on-rss 50
>
> But this lead to MemoryError's for my more database intensive pages. Then
> increased to 80 MB and the MemoryError's have stopped.
> Should this much memory really be needed, or is there likely a problem
> with web2py / my app?
>
> Richard
>



-- 
Sefa Denizoğlu


[web2py] Re:

2011-11-25 Thread Sefa Denizoğlu
?? Wasn't that you? :)

On 24 Kasım, 23:17, "massimo.dipie...@gmail.com"
 wrote:
> Who is user web2py on github?From my Android phone on T-Mobile. The first 
> nationwide 4G network.