Skip to content

gnud/android-restme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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