Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Latest commit

 

History

History
117 lines (81 loc) · 3.56 KB

README.md

File metadata and controls

117 lines (81 loc) · 3.56 KB

Henry Brown Website

About

Server for my personal website. This project stores a local copy of all my current GitHub repositories in a PostgreSQL database. The database is updated by a cron-job every couple of hours.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You'll need to install the following software:

Docker
Docker Compose
NodeJs v12.13 (dev only)
Yarn v.19 (dev only)

Installing

Testing

A step by step series of examples that tell you how to get a testing env running.

Once the repo has been cloned, build the dock compose images for testing:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml build

Start the project locally on port 80:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up

Go to http://localhost:80 to see the site.

To stop the services: CTRL+c

Development

A step by step series of examples that tell you how to get a development env running.

Once the repo has been cloned, install the dependencies:

yarn install

Build the dock compose images:

docker-compose build

Start the project locally on port 9000:

docker-compose up

Go to http://localhost:9000 to see the site.

To stop the services: CTRL+c

Built With

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.