Skip to content

elliottminns/blackfish-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackfish Example

This is an example project for the Blackfish web server.

It is currently configured to run on Heroku and Docker.

Heroku

This example can be deployed to Heroku without the button below, if wanted please refer to here to do so.

Deploy

Docker

This example application is equipped with a Docker configuration file. It allows to run the application locally in an Ubuntu based Linux environment.

  1. Install Docker on your machine
  2. Launch the Docker Quickstart Terminal app or manually start the default Docker machine: docker-machine start default
  3. cd into blackfish-example
  4. Build the image: docker build -t blackfish .
  5. Configure VirtualBox to forward port 4000 to 4000
  6. Launch the container: docker run -it -p 4000:4000 blackfish
  7. Point your browser to http://localhost:4000