Creating LiveCode applications that play well with git
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Creating LiveCode applications that play well with git
I will need to test the stack on Windows and get back to you. That error message isn't very helpful.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Creating LiveCode applications that play well with git
OK, thanks Trevor. Look forward to hearing your findings. I'm keen to get started with Levure!
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Creating LiveCode applications that play well with git
@jim1001 - I just tried creating a Levure project on Windows 10 with LC Business 8.1.3 and it worked. I tried with and without the git checkbox checked (after having installed git using the installer provided on the git website). The error you are seeing occurs when the project creation stack tries to download the zip file from http://github.com/trevordevore/levure/a ... master.zip. I don't know what a [1] error is. Which version of LiveCode are you testing with?
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Creating LiveCode applications that play well with git
Hi Trevor,
I'm using LC Community 8.1.3. I've just tried it a couple more times, once as an Administrator and once with a non-Administrator account. Deleted the folder then recreated it. Always get the same error.
I'm using LC Community 8.1.3. I've just tried it a couple more times, once as an Administrator and once with a non-Administrator account. Deleted the folder then recreated it. Always get the same error.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Creating LiveCode applications that play well with git
I'm using Business. I'll download and install Community to test it.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Creating LiveCode applications that play well with git
It fails for me as well using Community. The error occurs when trying to initialize the git repository (the error message wasn't being captured and reported properly but I've fixed that). The error occurs when calling "git init". The error message is the following:
I was able to successfully run the Levure stack by doing the following:
Code: Select all
'git' is not recognized as an internal or external command, operable program or batch file.
- Click on Windows icon
- Search for "Edit the system environment variables".
- Open the control panel
- Click on "Environment Variables" button.
- Double-click on "Path" in the system variables list.
- Click on "Edit Text" button.
- Copy the "Variable value" text.
- In the message box execute "put the clipboarddata into $Path".
- Try running the Levure stack again.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Creating LiveCode applications that play well with git
Trevor - thank you. I now see the git error. Since I'm using Portable Git I don't have git in my path. Of course I could install the fixed version. Alternatively, is it possible to leave Use Git blank & set up git to track the project manually following the steps in the wiki section If you checked the Use Git checkbox (https://github.com/trevordevore/levure/ ... t-checkbox) ?
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Creating LiveCode applications that play well with git
Yes, you could set up git manually after the fact. You would need to delete the "levure" folder and manually add Levure as a submodule.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Creating LiveCode applications that play well with git
I haven't managed to spend the time I need on this though I did manage to set up the project folder and run the starter app on Windows 7. I couldn't manage the project with Portable Git but was able to do so with a local Git install following Trevor's workaround.
Trevor - wonder if there any some simple examples of the framework in action? It is a great idea but for me at the moment it feels like a steep learning curve. It all starts to mist over when reading the page https://github.com/trevordevore/levure/ ... tarter-App. I'm not really sure where / how to start or what are the important / essential things that need to be done. Maybe looking at a real application that does a simple but practical task would help to grasp some of the descriptions.
Hope this may be possible. Thank you.
ps: What are conditions for using stub executables for testing? I guess it's not possible to be developing on Windows PC and instantly test as a standalone on a connected Android device?
Trevor - wonder if there any some simple examples of the framework in action? It is a great idea but for me at the moment it feels like a steep learning curve. It all starts to mist over when reading the page https://github.com/trevordevore/levure/ ... tarter-App. I'm not really sure where / how to start or what are the important / essential things that need to be done. Maybe looking at a real application that does a simple but practical task would help to grasp some of the descriptions.
Hope this may be possible. Thank you.
ps: What are conditions for using stub executables for testing? I guess it's not possible to be developing on Windows PC and instantly test as a standalone on a connected Android device?
Re: Creating LiveCode applications that play well with git
Jim,
There is a learning curve. This is very different than the traditional way of building LC projects. I really, really like it.
Maybe the videos are a good place to start just so you get some visuals before you try to work on a project.
https://www.youtube.com/channel/UCluXVD ... JmCMssc0fw
Also, I taught myself Levure using the wiki, so I think everything you want to know is in there.
There is a learning curve. This is very different than the traditional way of building LC projects. I really, really like it.
Maybe the videos are a good place to start just so you get some visuals before you try to work on a project.
https://www.youtube.com/channel/UCluXVD ... JmCMssc0fw
Also, I taught myself Levure using the wiki, so I think everything you want to know is in there.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Creating LiveCode applications that play well with git
Jim,
I don't have any example apps available yet. The FAQ answers a couple of questions and may be useful:
https://github.com/trevordevore/levure/wiki/Levure-FAQ
What I would be interested in knowing is what you think the first thing is that you would like to do? The app generator provides a mostly blank canvas. Do you want to convert an existing app? Add a new ui stack and experiment? Ideally you could write your questions up under the Issues tab on the Github page. That helps us track what needs to be done.
As for the stub executables, they are only for macOS, Windows, and Linux. You should be able to use the Test feature in the IDE like you normally would.
I don't have any example apps available yet. The FAQ answers a couple of questions and may be useful:
https://github.com/trevordevore/levure/wiki/Levure-FAQ
What I would be interested in knowing is what you think the first thing is that you would like to do? The app generator provides a mostly blank canvas. Do you want to convert an existing app? Add a new ui stack and experiment? Ideally you could write your questions up under the Issues tab on the Github page. That helps us track what needs to be done.
As for the stub executables, they are only for macOS, Windows, and Linux. You should be able to use the Test feature in the IDE like you normally would.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Creating LiveCode applications that play well with git
Mikey,
Thanks for your thoughts. I did have a look at some videos when I first saw Levure. But you have prompted me to go back and look again. There's a good chance they'll make more sense on repeat visits.
Thanks also for the reassurance that everything is in the wiki. No doubt it's hard to pitch it at a level suitable for all. I'm a relative rookie so have a lot to learn.
Trevor,
Thanks for your suggestions. I have an immediate task to create a new app for a mental health research project. I would consider converting an existing app if it would help me to create new Levure apps. Perhaps that could be a useful example - take an app that does a simple task (taken from an online lesson?). In one case convert it to Levure and in another, design it from scratch with Levure.
I wonder if you now use Levure for all your apps or only more complex ones? Maybe you use it for apps you are developing for someone else. I guess that the overheads mean using it for all apps would be overkill. Then again once you are in the swing I'm sure it would get quicker and easier and you can be assured that if you ever come back to an app it will be easier to understand, change, learn from and re-use.
For me, any example apps would help bring the user guide to life and perhaps highlight what is essential and what is not so important.
All the best,
Jim
Thanks for your thoughts. I did have a look at some videos when I first saw Levure. But you have prompted me to go back and look again. There's a good chance they'll make more sense on repeat visits.
Thanks also for the reassurance that everything is in the wiki. No doubt it's hard to pitch it at a level suitable for all. I'm a relative rookie so have a lot to learn.
Trevor,
Thanks for your suggestions. I have an immediate task to create a new app for a mental health research project. I would consider converting an existing app if it would help me to create new Levure apps. Perhaps that could be a useful example - take an app that does a simple task (taken from an online lesson?). In one case convert it to Levure and in another, design it from scratch with Levure.
I wonder if you now use Levure for all your apps or only more complex ones? Maybe you use it for apps you are developing for someone else. I guess that the overheads mean using it for all apps would be overkill. Then again once you are in the swing I'm sure it would get quicker and easier and you can be assured that if you ever come back to an app it will be easier to understand, change, learn from and re-use.
For me, any example apps would help bring the user guide to life and perhaps highlight what is essential and what is not so important.
All the best,
Jim
Re: Creating LiveCode applications that play well with git
Getting started was the hard part. This is not a setup I would recommend for the beginner. The pieces aren't all connected. SublimeText doesn't indent perfectly all the time. It does not show you all the mistakes that the script editor shows.
However, everything new that I have done has been using Levure, and most of those have been simple projects. The value of having git available can't be overstated. In one case, I made multiple changes to a script. When I did that I screwed something up. Because I had a version committed, all the changes were laid out, side-by-side, and I was able to undo certain changes and leave others.
I also like the way that I can submodule my various libraries. Before this, I had to keep track of every library, where it was used, which project used which version, etc. Now git does that for me.
However, everything new that I have done has been using Levure, and most of those have been simple projects. The value of having git available can't be overstated. In one case, I made multiple changes to a script. When I did that I screwed something up. Because I had a version committed, all the changes were laid out, side-by-side, and I was able to undo certain changes and leave others.
I also like the way that I can submodule my various libraries. Before this, I had to keep track of every library, where it was used, which project used which version, etc. Now git does that for me.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: Creating LiveCode applications that play well with git
Jim,jim1001 wrote: I wonder if you now use Levure for all your apps or only more complex ones? Maybe you use it for apps you are developing for someone else. I guess that the overheads mean using it for all apps would be overkill. Then again once you are in the swing I'm sure it would get quicker and easier and you can be assured that if you ever come back to an app it will be easier to understand, change, learn from and re-use.
I will use Levure for all apps I work on going forward. I have converted the primary app my company develops already. I've also converted a simple iOS app I created a while ago. I will be converting the other app my company develops after I get version 1.0 of Levure released.
I recently updated the wiki home page with a list of reasons why I like using Levure. I think the reasons are valid regardless of the complexity of the app.
https://github.com/trevordevore/levure/wiki
While an example app is a definite bonus, if someone isn't able to figure out how to work on a Levure App using the existing docs then those need to be fixed first. I just pushed some significant updates to the framework in preparation for a 1.0 release. During the process I also made some adjustments to the Getting Started section of the wiki. I added a page that tells you how to add code and ui stacks to an app. Here is a link to the wiki. It would be very helpful it you could go through the wiki instructions again and let me know if you are able to get any farther.jim1001 wrote:For me, any example apps would help bring the user guide to life and perhaps highlight what is essential and what is not so important.
https://github.com/trevordevore/levure/wiki/Get-Started
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Creating LiveCode applications that play well with git
Trevor,
Thanks for your updates. I've just returned to work after a break but will try & go through them asap then post any findings.
All the best,
Jim
Thanks for your updates. I've just returned to work after a break but will try & go through them asap then post any findings.
All the best,
Jim