Usage example of hook services inside a corona-sdk application.
- Clone hook-corona-sdk.
- Download and install hook backend.
- Make sure that
hook server
is running. - Create a new hook application inside
example
directory. - Open the
example
app with Corona Simulator.
Step by step:
# create a directory for all stuff needed
mkdir hook-corona-stuff
cd hook-corona-stuff
# clone hook-corona-sdk and install hook backend server
git clone https://github.com/doubleleft/hook-corona-sdk.git
curl -sSL https://raw.githubusercontent.com/doubleleft/hook/master/scripts/install.sh | bash
# start backend server
cd hook
hook server # This will lock your terminal, you'll need to open another tab to continue.
# create a new hook application inside hook-corona-sdk/example directory
cd hook-corona-stuff
cd hook-corona-sdk/example
hook app:new hook-corona-sdk