Note:
Commands:
A Vue.js project
There are two methods:
- Clone via terminal.
- Download it via github.
You can check them out here.
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
cd miam-front/
vim .env
# .env config
# url used to request with backend
URL_DEV=
# stripe public key
STRIPE_PUBLIC_KEY=
cd miam-back/
vim .env
# .env config
# config database
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=
# stripe private key
STRIPE_PRIVATE_KEY=
# nodemailer email & password
NODEMAILER_USER=
NODEMAILER_PASS=
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
Make sure to checkout my other projects.