Public Lab Research note


Testing a Phant Data Repository on Cloud9

by donblair | November 03, 2015 15:58 03 Nov 15:58 | #12357 | #12357

[Edit 11/8: an earlier title for this was "Your Own Data Repository on Cloud9" -- but I've since found out that Cloud9 is not set up to allow for persistent hosting. For that, one needs to host Phant using another approach, e.g. like digitalocean.com, or Amazon EC2 (or perhaps Heroku?). I'm exploring digitalocean.com -- will post about that soon.]

1. Sign up

Go to: https://c9.io/

(You can use a github login if you like)

sign_in.png

2. Create a workspace

create_workspace.png

3. Name the workspace

(don't need a template)

name_workspace.png

4. Find the command line on the bottom of the page

reach_commandline.png

5. Install phant

npm install -g phant

install.png

6. Run phant

phant.png

running.png

7. Preview application

preview_application.png

live_preview.png

8. Interact via browser

phant_for_real.png


1 Comments

Update: just figured out that cloud 9 is intended for development-only -- the free service stops running after 2 days :)

I'm now experimenting with running a phant server via digitalocean.com ...

Reply to this comment...


Login to comment.