GitHub - eddyekofo94/pyramidVue: Pyramid Web Framework (Python) implemented with Vuejs (JavaScript) & Webpack (HMR): starter template (original) (raw)
Pyramid Webframework with Vuejs & Webpack (HMR thanks to Thijs Damsma)
Features
Getting Started
First clone
git clone https://github.com/eddyekofo94/pyramidVue.git
First create a virtual environment, otherwise by default python instance available will be used (I recomend the former).
make venv
or if you have virtualenv installed
virtualenv -p python3 ./env
Make sure you activate your virtual environment!!
Development environment setup
These steps will install all required dependencies, then run the server.
download all the required requirements for development
make dev
test your project
make test
run your project
Go to: localhost:6543 (webpack-dev-server runs on localhost:8080)
make run
Errors encountered
Don't have the webpack-dev-server installed
/bin/sh: webpack-dev-server: command not found
Fix:
yarn global add webpack-dev-server
Deployment
```bash
make sure the webpack-dev-server setting in production.ini is not set to true
make build
External links
http://docs.pylonsproject.org/projects/pyramid/en/latest/index.html