portfolio-site
Quick start
# clone repo
$ git clone https://github.com/lexmartinez/portfolio-site
# change directory to cloned app
$ cd portfolio-site
# install the dependencies with npm
$ npm install
# start the server
$ npm run dev
go to http://localhost:8080 in your browser.
Table of Contents
Dependencies
What you need to run this app:
node
andnpm
(Use NVM)- Ensure you're running Node (
v8.x.x
+) and NPM (5.x.x
+)
Developing
After you have installed all dependencies you can now start developing with:
npm run dev
It will start a local server using webpack
which will watch, build (in-memory), and reload for you. The application can be checked at http://localhost:8080
.
Testing
portfolio-site
has an ESLint integration for consistent code inspection, you can run that tool with command:
npm test
Production
In order to generate a dist bundle you can use the following commands:
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
Deployment
This app is ready to be deployed to github pages through TravisCI (using the .travis.yml file) you just need to create the github repo and setup the github key on travisCI
License
This project is licensed under MIT License - see the LICENSE.md file for details