Contributing through github

App Inventor 2

Not familiar with github?

Get started with GitHub

Fork the Repo

https://github.com/mit-cml/appinventor-sources

Use the "Fork" button on GitHub to create your own copy of the repository.

clone locally

git clone https://github.com/YOUR_USER_NAME/appinventor-sources.git

Clones your fork of the repository into the current directory. Swap YOUR_USER_NAME for your real GitHub username.

configure remotes

$ cd appinventor-sources
$ git remote add upstream https://github.com/mit-cml/appinventor-sources.git

.gitignore

$ cp sample-.gitignore .gitignore

If you don't do this, you will get in all kinds of trouble.

Checkout Dependencies

$ git submodule update --init

Create AuthKey

$ cd appinventor
$ ant MakeAuthKey

Install PostgreSQL

You can run it directly on your machine or use this gist to run as a container.

If not using the gist, the default database name is appinventor_db, username appinventor and password appinventor.

build app inventor 2

$ ant
$ ant -Dskip.ios=true # if you are on mac and want to save time

run app inventor 2

$ cd appinventor 
$ ant devserver 

run the build server

$ cd appinventor/buildserver
$ ant RunLocalBuildServer

The build server is used to create apk/aab files.

you are now ready to go!

Navigate to localhost:8888

Check out the App Inventor Open Source Community for more information, troubleshooting and help.

THE END

Feel free to contact the Open Source group for any additional information.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.