Public | Automated Build

Last pushed: 10 days ago
Short Description
Docker build for my personal website
Full Description

gustavkarlsson.se

The source code for my personal website

Running

The best way to run the project is using Docker:

Build: docker build -t gustavkarlsson/gustavkarlsson.se .
Run: docker run -d -p <port>:8080 gustavkarlsson/gustavkarlsson.se where <port> is the port you want to listen to.
Stop: docker stop <container-id> where <container-id> is the id printed by the run command

Building

This is how you build the project for development:

Required software

Dependencies

Install dependencies by running npm install

Tasks

This project uses Gulp to run automated tasks for development and production builds.
The tasks are as follows:

gulp --production: Build the production ready version of the project (also runs tests)

gulp serve: Compiles preprocessors and boots up development server
gulp serve --open: Same as gulp serve but will also open up site/app in your default browser
gulp serve --production: Same as gulp serve but will run all production tasks so you can view the site/app in it's final optimized form

gulp test: Lints all *.js file in the source folder using eslint

Adding the --debug option to any gulp task displays extra debugging information (ex. data being loaded into your templates)

Technologies used

Packaging and deployment

Scaffolding

JavaScript

Styles

Markup

Optimization

Server

Linting

Automation

Code Management

Docker Pull Command
Owner
gustavkarlsson

Comments (0)