๐ Very basic Bottle kickstart kit with Vue.js and Webpack. Included Axios, Autoprefixer, Babel, Webpack config, demo app with Bulma and Web font loader.
MIT License
Python packages:
0.12.16
(stable)latest
latest
NPM packages:
0.18+
(AJAX calls)7.2+
(automate CSS prefixes)7+
(turn ES6 code to vanilla)2.6+
(the basis of reactive web applications)3+
with config (SCSS, ES6, Vue.js)1.6+
(async load font from Google Fonts)CSS, styles:
latest
Bottle is lightweight WSGI micro web-framework for Python. A simple process of installing and deploying. Everything has already been done for you. Just enjoy writing your code!
Simplify development of reactive web applications โ use this kickstart kit now!
First, clone this GitHub repository:
foo@bar:~$ git clone https://github.com/koddr/bottle-vue-kickstart.git
Second, install NPM dependencies and make build:
foo@bar:~$ cd bottle-vue-kickstart
foo@bar:~$ npm install
foo@bar:~$ npm run build # or `npm run watch` for hot-reload
Third, prepare your virtual environment:
Since 0.4.2
we use Pipenv project for manage virtual environments.
Install via pip
to your system:
foo@bar:~$ pip install pipenv
More info about Pipenv here: Managing dependencies, Python.org.
And now, install Bottle with all extensions:
foo@bar:~$ pipenv install
Yes, virtual environment is automaticaly create. If you want to know system link, just use
pipenv --venv
.Result is something like this:
/Users/username/.virtualenvs/bottle-vue-kickstart--XXXXXX
.Use it in JetBrains PyCharm, VS Code or else.
Finally, run development server:
foo@bar:~$ python3 run.py
Bottle v0.12.16 server starting up (using AutoServer())...
Listening on http://localhost:8080/
Hit Ctrl-C to quit.
(Optional) Install database with example objects:
foo@bar:~$ python3 _devtools/install_init_database.py
Now, your yellow section on http://localhost:8080/ will look like this:
And we done!
โโโ _devtools
โย ย โโโ install_init_database.py
โโโ static
โย ย โโโ assets
โย ย โย ย โโโ js
โย ย โย ย โ โโโ script.js
โย ย โ โโโ scss
โย ย โ โโโ style.scss
โย ย โโโ css
โย ย โย ย โโโ style.min.css
โย ย โโโ images
โย ย โย ย โโโ bottle-vue-kickstart-logo-horizontal.svg
โย ย โโโ js
โย ย โโโ script.min.js
โโโ templates
โย ย โโโ index.html
โย ย โโโ layout
โย ย โโโ base.html
โโโ .babelrc
โโโ .editorconfig
โโโ .gitignore
โโโ articles.db
โโโ package.json
โโโ package-lock.json
โโโ Pipfile
โโโ Pipfile.lock
โโโ postcss-config.js
โโโ README.md
โโโ run.py
โโโ webpack.config.js
If you want to say ยซthank youยป or/and support active development Bottle Vue.js Kickstart
:
Thanks for your support! ๐ Together, we make this project better every day.
MIT