drewnoakes / fix-decoder

Unravels FIX messages into human readable tables
https://drewnoakes.com/fix-decoder/
80 stars 34 forks source link

Website down? #44

Open cpp77 opened 1 day ago

cpp77 commented 1 day ago

Hi, used your website years ago. However, it doesn't seem to be up anymore?

drewnoakes commented 1 day ago

Yep the site's down at the moment. I hope to get it back up and running before too long, but life's getting in the way.

cpp77 commented 1 day ago

Thanks for replying. Ah, awesome. I've just had a look for substitutes and I can comfortably say your's is the best.

chrismasters commented 1 day ago

YMMV but if you use Docker, here's a Dockerfile so you can just run it yourself without worrying about building. It pulls the repository, builds it and exposes the app on localhost:8080

I would offer this up as a pull request but not sure it really belongs in the repo. Maybe in the docs?

# Use an official Node.js image
FROM node:16-alpine

# Set the working directory inside the container
WORKDIR /app

# Install git and other necessary packages
RUN apk add --no-cache git

# Clone the fix-decoder repository from GitHub
RUN git clone https://github.com/drewnoakes/fix-decoder.git .

# Install Gulp globally
RUN npm install -g gulp

# Install project dependencies using Yarn
RUN yarn install

# Build the project using Gulp
RUN gulp

# Install a simple HTTP server to serve the static files from the 'dist' directory
RUN npm install -g http-server

# Expose port 8080 for the HTTP server
EXPOSE 8080

# Command to start the HTTP server, serving from the 'dist' folder
CMD ["http-server", "dist", "-p", "8080"]
drewnoakes commented 7 hours ago

Thanks, that's awesome. I expect I'd use Azure Static Apps to host it, but because I don't have a dedicated domain name for it, and everything under drewnoakes.com is offline right now, I expect I'll bring the whole domain back online in one hit. Maybe I could do this with a subdomain though, like fixdecoder.drewnoakes.com.