Search found 311 matches

by ghettocottage
Tue Jul 30, 2019 4:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: WP REST API Plugin - How to actually use it?
Replies: 5
Views: 776

Re: WP REST API Plugin - How to actually use it?

I had a quick look and noticed that this has not been updated since 2016. Wordpress went through some pretty major updates last year. I would be hesitant to invest much time or effort into anything that has not kept pace with those changes. Was there something specific you were trying to do? There a...
by ghettocottage
Sat Jun 29, 2019 9:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Access Raspberry Pi to read data.
Replies: 23
Views: 1479

Re: Access Raspberry Pi to read data.

you could just write a bash script and then call it from Livecode like: put shell("./functions/yourscript) into tScript if you have variables you need to pass, you just send them to your bash script: put shell("./scripts/yourscript var1 var2") into tScript and then your bash script can read those: #...
by ghettocottage
Thu Jun 27, 2019 1:20 am
Forum: Talking LiveCode
Topic: substack location (filepath)
Replies: 3
Views: 302

Re: substack location (filepath)

try this: --set the defaultFolder to stack location set the itemDelimiter to "/" get the effective fileName of this stack #you could put that into a global to pass to your other stack put item 1 to -2 of it into gDefaultFolder #or use it to set your defaultFolder like so set the defaultFolder to gDe...
by ghettocottage
Wed Jun 19, 2019 7:25 pm
Forum: CGIs and the Server
Topic: Setting up in shared host environment (Dreamhost)
Replies: 3
Views: 258

Re: Setting up in shared host environment (Dreamhost)

@FourthWorld you are right! I just wanted to point it out as an option.

I used to use DreamHost quite a bit, but once I discovered how to use a VPS it dramatically changed how I set up projects. I wish someone had mentioned the possibility to me earlier in my life.
by ghettocottage
Wed Jun 19, 2019 4:28 pm
Forum: CGIs and the Server
Topic: Setting up in shared host environment (Dreamhost)
Replies: 3
Views: 258

Re: Setting up in shared host environment (Dreamhost)

How married are you to Dreamhost? It is probably possible to get LC working, but using a VPS from somewhere like DigitalOcean or Linode is a little better for doing things like this, although initial setup is a little more complicated since you have to install from scratch. However, once you have it...
by ghettocottage
Thu Jun 13, 2019 4:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Access Raspberry Pi to read data.
Replies: 23
Views: 1479

Re: Access Raspberry Pi to read data.

In my original setup, I had an old Linksys WRT54g router with a couple of large antennas. You can find those routers at thrift-stores for a few dollars and install dd-wrt on them. The antennas un-screw and can be replaced with larger, more powerful antennas. That router can be ran on 12v (solar pane...
by ghettocottage
Wed Jun 12, 2019 11:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Access Raspberry Pi to read data.
Replies: 23
Views: 1479

Re: Access Raspberry Pi to read data.

I have a project I am working on that involves an OrangePi set up out in a field (literally out in a field) and I use one of these things: https://hologram.io/nova/ plugged into the Pi to send small chunks of data to a server where I have Livecode Server running...which collects that data and does a...
by ghettocottage
Fri May 31, 2019 4:02 pm
Forum: CGIs and the Server
Topic: Getting started on LiveCode server
Replies: 11
Views: 1119

Re: Getting started on LiveCode server

I wanted to post and let you know I am still working on a basic framework to post for people to use as a starting point. The topic comes up quite often, so I wanted to have a good working example of interacting with Livecode, Livecode Server, and a Database. It will probably take me another week to ...
by ghettocottage
Sat May 18, 2019 10:27 pm
Forum: CGIs and the Server
Topic: Getting started on LiveCode server
Replies: 11
Views: 1119

Re: Getting started on LiveCode server

Eventually you will probably want to use a framework like Revigniter, but it is my opinion that you would progress much faster in this if you start by writing your own structure or copying a basic structure and getting the hang of how website applications work. I have a basic structure that I use as...
by ghettocottage
Sat May 18, 2019 12:13 am
Forum: CGIs and the Server
Topic: Getting started on LiveCode server
Replies: 11
Views: 1119

Re: Getting started on LiveCode server

It sounds like you just described a CMS or web-framework. For a Framework, Revigniter looks promising, but I have not used it yet: https://revigniter.com/ I do not think there is a Livecode CMS at the time, but I seem to remember someone writing some Livecode/Wordpress API. I think this is it: https...
by ghettocottage
Fri May 17, 2019 9:12 pm
Forum: CGIs and the Server
Topic: Getting started on LiveCode server
Replies: 11
Views: 1119

Re: Getting started on LiveCode server

I second everything that @FourthWorld just mentioned and asked in his reply. I have used something very close to what you described on various database projects. The Livecode/MySQL server has all of my scripts and such, and the app just sends a specific request to the server and gets a reply with th...
by ghettocottage
Thu May 16, 2019 3:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [solved] Bye Livecode
Replies: 19
Views: 1487

Re: Bye Livecode

No need to say goodbye. It is okay to take a break and explore other options, but you might find that Livecode fits some projects better than others. I usually just write in PHP and use existing CMS such as Wordpress to fit most of my projects, but Livecode has unique tools and features that work we...
by ghettocottage
Mon May 06, 2019 1:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Getting started with a web application
Replies: 4
Views: 1059

Re: Getting started with a web application

Can you elaborate a little more on what the app will do.
Do you want a website where people can login and access a database? Or do you want an app that gets its data from a remote server?
by ghettocottage
Sun May 05, 2019 5:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Access Raspberry Pi to read data.
Replies: 23
Views: 1479

Re: Access Raspberry Pi to read data.

Just a thought: It would not be too complicated to create (with some help) a bash script that runs on your pi that would ssh into your webserver and write all the data to a file there. Your webserver could then do the rest with that file. The script on the pi could run on a schedule of however frequ...
by ghettocottage
Sat May 04, 2019 10:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Access Raspberry Pi to read data.
Replies: 23
Views: 1479

Re: Access Raspberry Pi to read data.

What OS is the webserver running that will display the data?

Go to advanced search