Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.33 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.33 KB

android-restme

Playground for Android Rest code generator

Setup

create a new virtualenv myenv using PyCharm or manualy

virtualenv myenv

install dependency with PyCharm open any file that imports jinja2, a notification will showup asking you to install everything

Running

Right click on the app.py then Run 'app'/Debug with PyCharm or In the "Scripts parameters" paste the full path of the working directory.

python app.py MyWorkingDir Ensure you have loaded the virtualenv where MyWorkingDir is the full path of the Android project location i.e: ../samples/RestTest

Demo REST server

in the rest_demo directory

npm install

npm start

Can be accessed from:

Outside only (like for Android) in a LAN:

Reference

Jinja2

Rest template