Skip to content

valmoz/gae-vue-webapp2-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google AppEngine Vue Webapp2 Starter

NOTE: Webapp2 is not compatible with Python 3 yet. This project will be updated if Python 3 compatibility will be officially released. Please, check the Vue Flask Project for Python 3 support.

A simple application for Google App Engine, using Vue.js on the frontend and Webapp2 on the backend. This project can be deployed on Google AppEngine Python Standard Environment.

The frontend was built using the Vue.js Webpack template, and uses vue-router and vuex; vue-router and vuex store are kept in sync using vuex-router-sync.

Install dependencies

Python dependencies:

pip install -t lib -r requirements.txt

Frontend dependencies (from the app folder):

npm install

Local run

Run the Vue.js frontend (from the app folder):

npm run dev

Run the backend:

dev_appserver.py .

Deploy

Build the Vue.js frontend (from the app folder):

npm run build

Deploy the application on AppEngine:

gcloud app deploy app.yaml

License

MIT