Example phpBitsTheater framework website and mobile app which logs into it.
-
Android Studio uses Gradle to build apps. A way to use the androidBits library with your app is to edit the global
gradle.propertiesfile on your local computer. Create this file in the Gradle user home directory, typically found on Windows 7+ atC:\Users\[user name]\.gradleand on Linux or Mac OS X at~/.gradle. -
Edit the new
gradle.propertiesfile to contain the following variables. Note the lack of quotes and the full paths below, so paths with spaces may have unknown behavior:
For Linux / OS X:
lib_androidBits=/path/to/androidBits/lib_androidBits
For Windows OS (yes, the extra backslashes are required):
lib_androidBits=C\:\\path\\to\\androidBits\\lib_androidBits
-
Clone the phpBitsTheater repository in your development environment.
git clone git+ssh://git@github.com/baracudda/phpBitsTheater ./phpBitsTheater -
In Eclipse, create a new project for phpBitsTheater.
-
Clone this repository in your development environment.
git clone git+ssh://git@github.com/baracudda/acmelabs ./acmelabs -
In Eclipse, create a new project for the
acmelabs/server. -
Right-click the project root in Eclipse, and select Include Path → Configure Include Path…
-
On the Projects tab, select the project for phpBitsTheater that was created in step 2.
-
Commit the changes to link the two projects.
For a more detailed set of instructions on how to setup a website in a LAMP stack environment, see this wiki page.
- Set up the database where the web service's data will be hosted.
- Push the bare BitsTheater library to your target server instance.
- Push your server code to the same location on the target server, overwriting any of the base files.
- In a web browser, navigate to the root of the instance.
- Follow instructions in the browser to install the service.