Skip to content

lh00000000/vue-flask-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

frontend

backend

  • docker : there's a dockerfile in there
  • aws elasticbeanstalk : there's a Dockerrun.aws.json in there
developing
// start up the front-end
cd client
npm install // only do this for the first time
npm run dev // start up nice hot-reloading frontend. all hail vue-cli. more (better) info in client/README.md

// open another terminal tab and start up the backend
cd server
python app.py // in the front-end, hit localhost:8000.
deploying
cd client
npm run build // should put all the goodies into server/static and server/template

cd ../server
python app.py // just run it on localhost:8000
// OR
docker build -t COOL_APP . ; docker run -p 8000:8000 COOL_APP; // run it locally with docker
// OR
// zip up the contents and upload it to AWS ElasticBeanstalk (I can't use eb-cli because i use python 3 :'( )

About

template for a vuejs frontend with a flask backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published