Comments (6)
Right. Pencil code depends on the domain name looking correct (because the username is part of the domain name, like david.pencilcode.net).
So you need to start up chrome with a special flag so that it can resolve ".dev" domains to localhost. In your chrome, you won't visit localhost:8008. You'll visit http://pencilcode.net.dev/ - that's the purpose of the "devchrome" alias in the README.
from pencilcode.
Hi,
I have worked on the google api's in the past. I have worked on the google drive, calendar, map, etc. in my firstblaid application ( Link: https://github.com/coolyashish/Firstblaid ) .I would like to take on this bug.
Can you please elaborate more on the requirements specifications. According to my learning from the description, I think we have a pencilcode program (file) and We need to save it on drive so that we can open and edit it whenever needed. Please correct me If I am on the right track.
from pencilcode.
The idea is to create a "Drive App" that lets you run Pencil Code in (or
from) Google Drive.
Here are other app examples:
https://developers.google.com/drive/web/examples/
The main requirements:
(1) Within GDrive, should associate an app (using the Pencil Code UI) with
a filetype like text/coffeescript, text/x-pencilcode, text/html
(2) The app should be able to load/save/create new files on Google Drive
while using pencil code as the UI for editing and running.
(3) We should ideally should be able to show "previews" of
text/x-pencilcode files within GDrive.
(4) Have a listing on the Chrome Web Store that allows users to easily
connect to Pencil Code as a GDrive app.
David
On Mon, Mar 9, 2015 at 8:52 AM, Ashish Kumar [email protected]
wrote:
Hi,
I have worked on the google api's in the past. I have worked on the google
drive, calendar, map, etc. in my firstblaid application ( Link:
https://github.com/coolyashish/Firstblaid ) .I would like to take on this
bug.
Can you please elaborate more on the requirements specifications.
According to my learning from the description, I think we have a pencilcode
program (file) and We need to save it on drive so that we can open and edit
it whenever needed. Please correct me If I am on the right track.—
Reply to this email directly or view it on GitHub
#47 (comment)
.
from pencilcode.
Hi David,
I have created a demo google drive app. Currently I am using oauth2.0 access for authorization. Anyone can go to this link and install pencilcode application as their drive application. Once it is done then a user is able to open or create a new file using pencilcode application ( a link to pencilcode app would be there in the drive apps)
https://script.google.com/macros/s/AKfycbyUrUBH8Il1yx8KRcWXi5ulDugz1VKJwUhir_hDWYsRCFXa8A68/exec
Now, I will try to integerate it with pencilcode. I am new to pencilcode code structure.
- Can you breifly explain me about the structure.
- I have tried to install it on my local but facing some issues. I am behind proxy. I followed instruction from the github repo but on doing grunt I am getting an error [1] . Also if I did grunt devserver, It is redirecting me to our default proxy page.
[1]
79 passing (25s)
1 failing
- proxy program should be able to access off-domain image bits:
Uncaught Error: timeout
at handletry (/home/ashish/pencilcode/test/lib/testutil.js:70:14)
at /home/ashish/pencilcode/node_modules/node-phantom-simple/node-phantom-simple.js:40:26
at IncomingMessage. (/home/ashish/pencilcode/node_modules/node-phantom-simple/node-phantom-simple.js:455:17)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickDomainCallback (node.js:486:13)
from pencilcode.
Don't worry about that test failure - it shows up after the whole build is
done and you're doing integration tests. If you've gotten to that point,
the build works, and it's just an indication that you're on an atypical
network.
David
On Mon, Mar 9, 2015 at 2:46 PM, Ashish Kumar [email protected]
wrote:
Hi David,
I have created a demo google drive app. Currently I am using oauth2.0
access for authorization. Anyone can go to this link and install pencilcode
application as their drive application. Once it is done then any user is
able to open or create a new file using pencilcode application ( a link
should be there in the drive apps)https://script.google.com/macros/s/AKfycbyUrUBH8Il1yx8KRcWXi5ulDugz1VKJwUhir_hDWYsRCFXa8A68/exec
Now, I will try to integerate it with pencilcode. I am new to pencilcode
code structure. I have tried to install it on my local but facing some
issues. I am behind proxy. I followed instruction from the github repo but
on doing grunt I am getting an error [1] . Also if I did grunt devserver,
It is redirecting me to our default proxy page.[1]
79 passing (25s)
1 failing
- proxy program should be able to access off-domain image bits:
Uncaught Error: timeout
at handletry (/home/ashish/pencilcode/test/lib/testutil.js:70:14)
at
/home/ashish/pencilcode/node_modules/node-phantom-simple/node-phantom-simple.js:40:26
at IncomingMessage.
(/home/ashish/pencilcode/node_modules/node-phantom-simple/node-phantom-simple.js:455:17)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickDomainCallback (node.js:486:13)—
Reply to this email directly or view it on GitHub
#47 (comment)
.
from pencilcode.
Ok,
But I am getting following error on localhost:8008
Logs:
ImmediateReturnError: Host localhost not part of domain pencilcode.net.dev ip:127.0.0.1 ua:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.120 Chrome/37.0.2062.120 Safari/537.36 url:/favicon.ico
ImmediateReturnError: Host localhost not part of domain pencilcode.net.dev ip:127.0.0.1 ua:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/37.0.2062.120 Chrome/37.0.2062.120 Safari/537.36 url:/favicon.ico
from pencilcode.
Related Issues (20)
- Not working properly in mobile HOT 1
- Email button not working HOT 3
- p5.js not working? HOT 1
- Don't return placeholder HTML for non-existing .js files
- Feature Request: API for "create new file with starter code"
- UX: Blocks mode activates keyboard too often on mobile device
- Pencil Code Embed: setCode also resets palette.
- File icon is not saved if it's a new file
- Custom Block Palette: inconsistent behavior about multi-line snippets HOT 1
- trying to install pencil code at my server and getting ERROR when run GRUNT HOT 3
- how to integrate g+ into pencilcode
- error [email protected] install: `node-gyp configure build HOT 1
- I can't install pencilcode. please help!
- How to insert new block?
- Thumbnail popover is a bit misaligned when a new thumbnail is created
- Something worng when run grunt HOT 1
- Blocks for adding elements to array
- Custom palette using guide requires user be logged in, making link sharing difficult
- Unable to type properly on mobile devices
- Error while running grunt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pencilcode.