Use CODEA-SCM to call git Web Services on ipad for version management

Source: Internet
Author: User

Use CODEA-SCM to call git Web Services on ipad for version managementDirectory
    • Description
    • Installing CODEA-SCM
    • Remote Code Warehouse Settings
    • Local CODEA-SCM settings
Description

Use Codea on the IPad to do project development, although debugging, modify the code is very convenient, but there is a bit more trouble, is that Codea can not do version management, so sometimes modified wrong, want to fall back to the stable version of the previous, there is no way, can only manually save each version of the code.

There is now a way to automatically submit Codea items to a git server, which makes it easy to manage your different versions.

Installing CODEA-SCM

What needs to be used is a program called CODEA-SCM that the developer publishes to the Codea website community. You can use github.com and domestic git.oschina.net, which only support free public projects, which support free private projects.

CODEA-SCM installation is very simple, to ensure that the network unobstructed, set up a new project, empty the original main tab content, copy the following code to the Main tab, and then execute, will automatically download the program code back through the network:

--# Main-- codea-scm bootstrap installerfunction setup()    displayMode(STANDARD)    print("Installing codea-scm ...")    http.request("https://codea-scm.aws.mapote.com/install",        function (data, status, headers)            assert(loadstring(data))()            print("Installation complete. SUCCESS!")            print("Launch the project again to start using codea-scm.")            tween.delay(2.0, close)        end,        function (err)            print("PROBLEM downloading: " .. err)        end)endfunction draw()    background(37, 38, 50, 255)end

Register a user on CODEA-SCM, a name like LocalUser, mostly to get the public key-rsa.

Remote Code Warehouse Settings

Then register a user on github.com or git.oschina.net, assuming that your registered user is Codeauser, log in with that user, upload your public key, and then create your own public or private project, assuming the project name is Mycodeaproject, Then the address of your project is:

注册在github.com上https://github.com/codeaUser/myCodeaProject注册在git.oschina.net上https://git.oschina.net/codeaUser/myCodeaProject

The next step is to start CODEA-SCM.

Local CODEA-SCM settings

In Project options, fill in the Codea project you want to manage through CODEA-SCM, which is the project you created in Codea, assuming the name is myTest.

In the remote option, fill in the following:

[email protected]:codeaUser/myCodeaProject[email protected]:codeaUser/myCodeaProject

If you create a public project on the server and log in directly, if you create a private project, you will be prompted to enter Git.oschina.net's login username and password, which is the Codeauser user you just made.

If the network connection is OK, you will return the successful message, you can click on the CODEA-SCM push button to upload the code, you can also pull to retrieve the code, each operation will be directly modified to your Codea project.

The CODEA-SCM operation interface is as follows:


CODEA-SCM's homepage

Use CODEA-SCM to call git Web Services on ipad for version management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.