Go to file
steve e50ed6db9f minor: Update the 'Our Projects' link in the nav. Closes #1. (#3)
minor: Update the 'Our Projects' link in the nav. Closes #1.

Co-authored-by: steverusso <steverusso@protonmail.com>
Reviewed-by: jeff <jeff@simplesystems.tech>
2020-02-25 01:39:51 +00:00
public gitea init. 2020-02-19 17:16:28 -08:00
src minor: Update the 'Our Projects' link in the nav. Closes #1. (#3) 2020-02-25 01:39:51 +00:00
.dockerignore gitea init. 2020-02-19 17:16:28 -08:00
.gitignore gitea init. 2020-02-19 17:16:28 -08:00
Dockerfile.dev gitea init. 2020-02-19 17:16:28 -08:00
Dockerfile.prod gitea init. 2020-02-19 17:16:28 -08:00
package.json gitea init. 2020-02-19 17:16:28 -08:00
README.md gitea init. 2020-02-19 17:16:28 -08:00
vue.config.js gitea init. 2020-02-19 17:16:28 -08:00
yarn.lock gitea init. 2020-02-19 17:16:28 -08:00

Simple Systems Website

Local development

Build image

docker build -f Dockerfile.dev -t website-fe .

Run the container using the current directory for the source files

docker run -it -p 8080:8080 --mount source=$(pwd),target=/src,type=bind --rm website-fe

Building (non docker)

To create a production build, run:

yarn
yarn build

The static resources will be stored in the ./dist directory.

Production Docker build and run

To build the production site in a docker container, run the following command:

docker build -f Dockerfile.prod -t website-rel .

To run the production container, run the following command:

docker run --rm -it -p 8080:8080 website-rel

Get static files for AWS hosting

Use Docker's copy to pull the files out of a working production container:

docker cp CONTAINER_ID:/app/dist /local/destination

Versioning

Tags will indicate when a particular commit was ready to be live. Ex: v2019-07-28_031407

*nix command: date -u +v%Y-%m-%d_%H%M%S

Managing Job Posts

To add a job post:

  1. Place the markdown file in ./src/job-posts.
  2. Add the file name (excluding the extension) as an entry ./src/assets/jobKeys.js. These entries determine the display order.

To remove a job post:

  1. Remove the markdown file from ./src/job-posts.
  2. Remove the entry from the data in ./src/assets/jobKeys.js.

Managing Blog Posts

To add a blog post:

  1. Place the markdown file in ./src/blog-posts.
  2. Add the file name (excluding the extension) as an entry ./src/assets/blogKeys.js. These entries determine the display order.

To remove a blog post:

  1. Remove the markdown file from ./src/blog-posts.
  2. Remove the entry from the data in ./src/assets/blogKeys.js.