fluxflex

288 views
Skip to first unread message

Omi Chiba

unread,
Aug 21, 2011, 8:37:04 AM8/21/11
to web2py-users
Ichino who is a member of web2py Japan created a library on fluxflex
and it works great !

http://www.fluxflex.com/library/47

1. Sign up fluxflex
2. Create new project (e.g. ochiba)
3. Install the library (It will be done in one second!)
4. Access to your project with HTTPS not HTTP (e.g. https://ochiba.fluxflex.com)
5. Access Administrative Interface with /admin (e.g. https://ochiba.fluxflex.com/admin
)
5. Admin password is the same as your MySQL database on fluxflex
project.

Enjoy :)


Massimo Di Pierro

unread,
Aug 21, 2011, 11:04:14 AM8/21/11
to web2py-users
This is fantastic. I will be travelling in the next few hours but I
look forward to try it. I have been looking for something like this
for long time!

Massimo

On Aug 21, 7:37 am, Omi Chiba <ochib...@gmail.com> wrote:
> Ichino who is a member of web2py Japan created a library on fluxflex
> and it works great !
>
> http://www.fluxflex.com/library/47
>
> 1. Sign up fluxflex
> 2. Create new project (e.g. ochiba)
> 3. Install the library (It will be done in one second!)
> 4. Access to your project with HTTPS not HTTP (e.g.https://ochiba.fluxflex.com)
> 5. Access Administrative Interface with /admin (e.g.https://ochiba.fluxflex.com/admin

Martín Mulone

unread,
Aug 21, 2011, 4:11:27 PM8/21/11
to web...@googlegroups.com
bye bye gae (?)

2011/8/21 Massimo Di Pierro <massimo....@gmail.com>



--

Stef Mientki

unread,
Aug 21, 2011, 5:25:44 PM8/21/11
to web...@googlegroups.com
really fantastic,
despite the server 500 errors during sign up,
web2py running within 2 minutes.
cheers,
Stef

Bruno Rocha

unread,
Aug 21, 2011, 7:06:35 PM8/21/11
to web...@googlegroups.com
Very good!

And admin works perfectly! I am already running an app with MySQL and web2py Trunk.

We can create our instalations on github by forking this; https://github.com/nus/web2py-for-fluxflex and customizing to our project needs, so deployment will be very very easy.

I didt find any information about terms, plans & prices

Bruno Rocha

unread,
Aug 21, 2011, 7:07:48 PM8/21/11
to web...@googlegroups.com
Found about the QUOTA

Processed Time
19 / 10000 Requests
Processed Time
5.25 / 900.0 seconds (0.25 Hours)
Transfer In
14646 / 268435456.0 Bytes (0.25 GB)
Transfer Out
106990 / 268435456.0 Bytes (0.25 GB)
Storage Size
0.0 / 256.0 MBytes (0.25 GB)
Database Size
0.0 / 25.6 MBytes (0.025 GB)

Bruno Rocha

unread,
Aug 21, 2011, 7:09:59 PM8/21/11
to web...@googlegroups.com
and PLANS

PlanProjects TrafficProcessed Time Transfer InTransfer Out Disk SpaceDB Space
super geek
($9.0/month)
100 unlimited 10.0GB/day3.0GB/day 3.0GB/day4.0GB 0.5GBChange
standard
($1.0/month)
15 50000.0/day 5.0GB/day1.0GB/day 1.0GB/day1.0GB 0.1GBChange
free
($0.0/month)
310000.0/day 0.25GB/day0.25GB/day 0.25GB/day0.25GB 0.025GBYour Plan

guruyaya

unread,
Aug 22, 2011, 1:52:36 AM8/22/11
to web2py-users
Super awsome!

On Aug 21, 3:37 pm, Omi Chiba <ochib...@gmail.com> wrote:
> Ichino who is a member of web2py Japan created a library on fluxflex
> and it works great !
>
> http://www.fluxflex.com/library/47
>
> 1. Sign up fluxflex
> 2. Create new project (e.g. ochiba)
> 3. Install the library (It will be done in one second!)
> 4. Access to your project with HTTPS not HTTP (e.g.https://ochiba.fluxflex.com)
> 5. Access Administrative Interface with /admin (e.g.https://ochiba.fluxflex.com/admin

David Marko

unread,
Aug 22, 2011, 2:57:10 AM8/22/11
to web...@googlegroups.com
How did you upload the existing web2py app there? I tried several times but it fails after upload finished with some bad URL redirection and my app is not there. :-(


Iceberg

unread,
Aug 22, 2011, 3:24:53 AM8/22/11
to web2py-users
Omi Chiba,

Thanks VERY MUCH for your effort on building the web2py installation
package (a.k.a. library on fluxflex). Deploying web2py on a hosting
server has never been so easy! (I start crying for the hours I spent
in setting up my first web2py instance on my previous hosting
provider.)

One thing though. Your web2py library is a forked (and tailored)
version of official web2py 1.98.2. This way it will soon be outdated
when web2py trunk grows into 1.99, 1.100, etc.. So I see the only
practical way is:

1. modify your .flx file (in order to get rid of the "public_html"
directory, shall we?)
2. and commit it into the trunk.
3. and then someone of us (if not Massimo) maintain an identical clone
(rather than a fork) of web2py on github, until fluxflex will support
google code as app backend someday. (Will they?)

Later we will figure out a way to upload (perhaps download too?) each
web2py app, one by one.

By the way, how did you find out how to write the .flx file? I did not
see any documentation section on fluxflex site. Hope to know more so
that we can tweak more.

Regards,
Ray

On Aug 21, 8:37 pm, Omi Chiba <ochib...@gmail.com> wrote:
> Ichino who is a member of web2py Japan created a library on fluxflex
> and it works great !
>
> http://www.fluxflex.com/library/47
>
> 1. Sign up fluxflex
> 2. Create new project (e.g. ochiba)
> 3. Install the library (It will be done in one second!)
> 4. Access to your project with HTTPS not HTTP (e.g.https://ochiba.fluxflex.com)
> 5. Access Administrative Interface with /admin (e.g.https://ochiba.fluxflex.com/admin

Omi Chiba

unread,
Aug 22, 2011, 4:15:42 PM8/22/11
to web2py-users
It's actually created by nus (Yota Ichino).
https://github.com/nus/web2py-for-fluxflex

You can send messages and ask questions from there.

nic

unread,
Aug 22, 2011, 10:00:00 PM8/22/11
to web2py-users
This looks fantastic.
Got web2py up and running in 2 mins as advertised.
However when I tried to install the plugin_wiki I got the following
error.

"""
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, sys...@fluxflex.com and
inform them of the time the error occurred, and anything you might
have done that may have caused the error.
More information about this error may be available in the server error
log.
Apache/2.2.17 (Ubuntu) Server at wtpapps.fluxflex.com Port 443"

Has anyone been able to install the plugin_wiki or know how to access
the server error log ?

Bruno Rocha

unread,
Aug 22, 2011, 10:07:01 PM8/22/11
to web...@googlegroups.com

I installed by pushing to github. That is the way.

http://zerp.ly/rochacbruno

Massimo Di Pierro

unread,
Aug 22, 2011, 10:52:02 PM8/22/11
to web2py-users
I think there should be a recommended way to created branded versions
of web2py.

I would recommend:
- getting the latest official stable
- unzip
- add your own "init" app, with landing branded page etc, linking
admin.
- have a standard mechanism to add a brand logo to admin as well
- rezip and distribute

we could create a hook (div) for the admin logo, a sample branded
init, and a script to create this.

Massimo




On Aug 22, 2:24 am, Iceberg <iceb...@21cn.com> wrote:

Ross Peoples

unread,
Aug 23, 2011, 7:48:10 AM8/23/11
to web...@googlegroups.com
That would be a great idea Massimo!

Yota Ichino

unread,
Aug 23, 2011, 3:34:23 AM8/23/11
to web2py-users
David Marko.

I'm Ichino.
I created web2py-for-fluxflex.

Your problem was reproduced my environment. Upload file size is
limited about 100KB.
So, I setting upload file size more by using "LimitRequestBody"
in .htaccess file. But it did not work.

Please tell me config .htaccess for setting upload size.

Yota Ichino

unread,
Aug 23, 2011, 3:44:48 AM8/23/11
to web2py-users
nic,

Plugin_wiki is a large file size. You can not upload large file.
You need to paste "http://web2py.com/examples/static/
web2py.plugin.wiki.w2p" to "Use a url".

Yota Ichino

unread,
Aug 23, 2011, 3:10:34 PM8/23/11
to web...@googlegroups.com
Iceberg, Massimo Di Pierro,

Your idea is great. These influence me and I rewrite .flx file.
It is created on same github project with branch "get_new_stable".
https://github.com/nus/web2py-for-fluxflex/tree/get_new_stable
We can import this branch by using "Github import" menu.

The branch doing:
1. get new stable file from web2py.com.
2. unzip
3. deploying

This idea's strong point:
- User can get new stable file everytime.


Iceberg,
How to write .flx file is in http://jp.doc.fluxflex.com/ and other library code.


2011/8/23 Massimo Di Pierro <massimo....@gmail.com>:

David Marko

unread,
Aug 24, 2011, 1:32:23 AM8/24/11
to web...@googlegroups.com
My packed application  (web2py.app.twister.w2p) has 1.4MB

JmiXIII

unread,
Aug 24, 2011, 4:18:00 AM8/24/11
to web...@googlegroups.com, www....@gmail.com
Hello

Seems fantastic, yet I cannot access the admin page
1- create a project "projecttest"
2- Setup => github import
4- Branche : get_new_stable
5- Run intialize script and import

... import starded
.... project avaliable ....

Web2py welcome page Ok
Then I check for my database password here :https://www.fluxflex.com/projects/projecttest/instruction/database
(notice phpmyadmin is working)

Return in the web2py welcomeapp and try admin page : http://projecttest.fluxflex.com/admin
But it says that admin is unvailable because it cannot find the password's file

Does I made something wrong ?


Yota Ichino

unread,
Aug 24, 2011, 4:32:28 AM8/24/11
to web...@googlegroups.com
David Marko,

It is large file size for fluxflex server. I contacted fluxflex support by email
and heard how to set POST size more. There is not answear yet. Please
wait a few days.

2011/8/24 David Marko <dma...@tiscali.cz>:

Yota Ichino

unread,
Aug 24, 2011, 4:37:10 AM8/24/11
to web...@googlegroups.com
JmiXIII,

You need to access to your admin page HTTPS.
https://projecttest.fluxflex.com/admin

2011/8/24 JmiXIII <sylvn...@gmail.com>:

Massimo Di Pierro

unread,
Aug 24, 2011, 8:34:08 AM8/24/11
to web2py-users
JmiXIII,

You need a better landing page. This one does not make justice to this
excellent project:
http://www.fluxflex.com/library/47

Massimo

On Aug 24, 3:37 am, Yota Ichino <www.i...@gmail.com> wrote:
> JmiXIII,
>
> You need to access to your admin page HTTPS.https://projecttest.fluxflex.com/admin
>
> 2011/8/24 JmiXIII <sylvn.p...@gmail.com>:

JmiXIII

unread,
Aug 24, 2011, 8:47:48 AM8/24/11
to web...@googlegroups.com, www....@gmail.com
Good thanks a lot.
I thought I've tried it but my browser confused me with (I must have made a mistake)

Anyway thanks to you and to this community.

Ray (a.k.a. Iceberg)

unread,
Aug 24, 2011, 10:25:17 AM8/24/11
to web2py-users
Yota Ichino,

Thanks for your prompt response! It looks working well.

Another big issue. How to upgrade to the latest web2py (when
available)? Every time I do a git import in fluxflex panel, with or
WITHOUT checking "Run initialize scripts for setting up the project",
ends up with my whole web2py project being completely reset. My
manually uploaded web2py apps and their data will be lost.

I've read the doc [1] by the help of Google Translate, but still can
not figure out how to trigger the "deploy-only" mode.

By the way, problems raised on Fluxflex's support forum [2] never got
answered. Not a good service standard I expected. (Shrug.)

[1] http://jp.doc.fluxflex.com/settoappumodotodepuroimodo
[2] http://getsatisfaction.com/fluxflex

Regards,
Ray



On Aug 24, 3:10 am, Yota Ichino <www.i...@gmail.com> wrote:
> Iceberg, Massimo Di Pierro,
>
> Your idea is great. These influence me and I rewrite .flx file.
> It is created on same github project with branch "get_new_stable".https://github.com/nus/web2py-for-fluxflex/tree/get_new_stable
> We can import this branch by using "Github import" menu.
>
> The branch doing:
> 1. get new stable file from web2py.com.
> 2. unzip
> 3. deploying
>
> This idea's strong point:
> - User can get new stable file everytime.
>
> Iceberg,
> How to write .flx file is inhttp://jp.doc.fluxflex.com/and other library code.
>
> 2011/8/23 Massimo Di Pierro <massimo.dipie...@gmail.com>:

JmiXIII

unread,
Aug 24, 2011, 10:53:12 AM8/24/11
to web...@googlegroups.com
Hello,

Does'nt it work with the upgrade button of the admin page ?

Yota Ichino

unread,
Aug 24, 2011, 2:36:07 PM8/24/11
to web...@googlegroups.com
I merged get_new_stable branch into master branch.

2011/8/24 Yota Ichino <www....@gmail.com>:

Ray (a.k.a. Iceberg)

unread,
Aug 25, 2011, 10:22:41 AM8/25/11
to web2py-users
That's a good merge.

By the way, is it possible to completely remove the old master branch
stuff? (This is actually a question for git.) Current repo still
contains many web2py files in its history. This makes it a little bit
unnecessary slow when cloning the repo.

Regards,
Ray

On Aug 25, 2:36 am, Yota Ichino <www.i...@gmail.com> wrote:
> I merged get_new_stable branch into master branch.
>

> 2011/8/24 Yota Ichino <www.i...@gmail.com>:
>
> > Iceberg, Massimo Di Pierro,
>
> > Your idea is great. These influence me and I rewrite .flx file.
> > It is created on same github project with branch "get_new_stable".
> >https://github.com/nus/web2py-for-fluxflex/tree/get_new_stable
> > We can import this branch by using "Github import" menu.
>
> > The branch doing:
> > 1. get new stable file from web2py.com.
> > 2. unzip
> > 3. deploying
>
> > This idea's strong point:
> > - User can get new stable file everytime.
>
> > Iceberg,
> > How to write .flx file is inhttp://jp.doc.fluxflex.com/and other library code.
>
> > 2011/8/23 Massimo Di Pierro <massimo.dipie...@gmail.com>:

Ray (a.k.a. Iceberg)

unread,
Aug 25, 2011, 10:34:49 AM8/25/11
to web2py-users
On Aug 24, 10:25 pm, "Ray (a.k.a. Iceberg)" <iceb...@21cn.com> wrote:
> > Another big issue. How to upgrade to the latest web2py (when
> > available)? Every time I do a git import in fluxflex panel, with or
> > WITHOUT checking "Run initialize scripts for setting up the project",
> > ends up with my whole web2py project being completely reset. My
> > manually uploaded web2py apps and their data will be lost.
> >
> > I've read the doc [1] by the help of Google Translate, but still can
> > not figure out how to trigger the "deploy-only" mode.
> > By the way, problems raised on Fluxflex's support forum [2] never got
> > answered. Not a good service standard I expected. (Shrug.)
> > [1] http://jp.doc.fluxflex.com/settoappumodotodepuroimodo
> > [2] http://getsatisfaction.com/fluxflex

On Aug 24, 10:53 pm, JmiXIII <sylvn.p...@gmail.com> wrote:
> Hello,
>
> Does'nt it work with the upgrade button of the admin page ?


Hi JimXIII,

Thanks for reminding me about the web2py's builtin ugrade button. It
should work, unless there will be so weird "post limit" prevent us to
do so. (http://groups.google.com/group/web2py/browse_frm/thread/
8ccb23cb0fad2e04)

Things might become more complicated if our project on fluxflex
autoscale-able (https://www.fluxflex.com/about#auto-scaling). Does the
upgrade on one cluster automatically broadcast to other clusters?

We will see. Meanwhile, I still consider fluxflex support for web2py
is limited.

Regards,
Ray

Tito Garrido

unread,
Aug 25, 2011, 10:39:01 AM8/25/11
to web...@googlegroups.com
What is get_new_stable? Could you explain how to upgrade web2py-for-fluxflex?
--

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

JmiXIII

unread,
Aug 25, 2011, 10:52:57 AM8/25/11
to web...@googlegroups.com
As far as I understand :
get_new_stable is a git branch of the git web2py-for-fluxflex which allow to import the last stable vesrion of web2py.
Yet if you do so you will lost your previously installed app.

I think you should prefer the builtin upgrade button of the admin web2py, but I haven't tried since my project are already running the last stable version.
I've always used upgrade builtin button and it always worked on localhost.

Yota Ichino

unread,
Aug 25, 2011, 12:05:49 PM8/25/11
to web...@googlegroups.com
You're right, Iceberg.

Uh..., there is a issue. I don't know how to delete history in git.
Could you tell me it?

2011/8/25 Ray (a.k.a. Iceberg) <ice...@21cn.com>:

Ray (a.k.a. Iceberg)

unread,
Aug 25, 2011, 12:39:32 PM8/25/11
to web2py-users
Hi Yota,

Thanks for your time. Hopefully these can help.
[1] http://stackoverflow.com/questions/872565/how-do-i-remove-sensitive-files-from-gits-history
[2] http://help.github.com/remove-sensitive-data/

Regards,
Ray


On Aug 26, 12:05 am, Yota Ichino <www.i...@gmail.com> wrote:
> You're right, Iceberg.
>
> Uh..., there is a issue. I don't know how to delete history in git.
> Could you tell me it?
>
> 2011/8/25 Ray (a.k.a. Iceberg) <iceb...@21cn.com>:

Yota Ichino

unread,
Aug 25, 2011, 12:58:43 PM8/25/11
to web...@googlegroups.com
Thank you for helping. I'll read.

2011/8/26 Ray (a.k.a. Iceberg) <ice...@21cn.com>:

Yota Ichino

unread,
Aug 25, 2011, 3:17:22 PM8/25/11
to web...@googlegroups.com
Ray,

I made it! I made repository light. Git filter-branch option is powerful.

2011/8/26 Ray (a.k.a. Iceberg) <ice...@21cn.com>:

Alan Etkin

unread,
Aug 26, 2011, 2:26:27 PM8/26/11
to web2py-users
Hi, the method you mentioned for application upload via url does the
trick for large app files. The problem is that the user is forced to
place an installer online somewhere as source for download. It would
be very useful to be able to upload files "normally". Also tried to
upload with git but i dont see how to do it for one application into
the pre-installed web2py folder.

Yota Ichino

unread,
Aug 26, 2011, 3:55:59 PM8/26/11
to web...@googlegroups.com
Alan Etkin,

> Also tried to upload with git but i dont see how to do it for one application into
> the pre-installed web2py folder.

The way is copying web2py/applications/YOUR_APP folder to same cloned folder.

2011/8/27 Alan Etkin <spam...@gmail.com>:

Yota Ichino

unread,
Aug 26, 2011, 6:47:15 PM8/26/11
to web...@googlegroups.com
oops! mistakes.

How to add a application:
1. clone from fluxflex repository.
2. copy your application(in web2py/applications/YOUR_APP) to
public_html/applications folder in the repository.
3. add new files to the repository.
4. commit and push


2011年8月27日4:55 Yota Ichino <www....@gmail.com>:

Alan Etkin

unread,
Aug 27, 2011, 8:59:57 AM8/27/11
to web2py-users
Great! Many thanks Yota

On 26 ago, 19:47, Yota Ichino <www.i...@gmail.com> wrote:
> oops! mistakes.
>
> How to add a application:
> 1. clone from fluxflex repository.
> 2. copy your application(in web2py/applications/YOUR_APP) to
> public_html/applications folder in the repository.
> 3. add new files to the repository.
> 4. commit and push
>
> 2011年8月27日4:55 Yota Ichino <www.i...@gmail.com>:
>
> > Alan Etkin,
>
> >> Also tried to upload with git but i dont see how to do it for one application into
> >> the pre-installed web2py folder.
> > The way is copying web2py/applications/YOUR_APP folder to same cloned folder.
>
> > 2011/8/27 Alan Etkin <spame...@gmail.com>:

monotasker

unread,
Oct 3, 2011, 8:54:48 AM10/3/11
to web...@googlegroups.com, www....@gmail.com
In case you haven't figured this out yet, you need to use https:// when you access the admin page on a remote site. If you try to use http:// you'll get that message about the password file not being accessible.

kralin

unread,
Oct 7, 2011, 5:26:37 AM10/7/11
to web2py-users
I've been testing the web2py-for-fluxflex github forking approach
and it works very well.
however there is one problem when I deploy to fluxflex all the views
that goes through generic.html
gets 404 error. I'm using the 1.99.2 web2py version. maybe this is
related to routes, but I
don't have access to the web2py installation on fluxflex...
any idea?

Marin Pranjić

unread,
Oct 7, 2011, 6:06:10 AM10/7/11
to web2py-users

faultyzebra

unread,
Oct 7, 2011, 7:24:22 AM10/7/11
to web...@googlegroups.com
Thank you for web2py for fluxflex!

kralin

unread,
Oct 10, 2011, 9:03:19 AM10/10/11
to web2py-users
thanks a lot Marin, I've missed this change in generic.html

On 7 Ott, 12:06, Marin Pranjić <marin.pran...@gmail.com> wrote:
> https://groups.google.com/forum/#!msg/web2py/26g9XA_0ZXE/4yiIHs5FivkJhttp://groups.google.com/group/web2py/browse_thread/thread/485ee82885...
Reply all
Reply to author
Forward
0 new messages