Giter Club home page Giter Club logo

ft-demo's Introduction

ft-demo

ft-demo is a wrapper around ft that enables random users to try ft. checkout the graph below to understand how ft-demo works.

can I run it?

Yeah, just clone the repository, cd into it and execute the following commands:

docker build -t ft-demo - < Dockerfile
docker run --rm -d --device /dev/fuse --privileged -p 127.0.0.1:12345:12345 ft-demo

Then, go to localhost:12345 and voilà.

sweet, can I try?

yeah, just go to ft.lemondev.xyz.

note: this instance will restart everyday at 00:00 MYT Time.

okay, cool, but how can I run it?

ahh, just compile the main.go file. Afterwards, create an init script for ft-demo, here's mine that works on Alpine linux in OpenRC.

After that is done, simply reverse-proxy ft-demo and you should be good to go.

what if I use systemd?

Well, you have to create your own script file. Do not fret, however, it is pretty painless. For ft-demo, make sure of the following:

  1. ft is running
  2. ft is run in a directory where client and static exist
  3. ft-demo can connect to ft's unix or tcp socket
  4. before ft-demo launches, the fuse directory is unmounted
  5. check for any pesky CORS headers

ft-demo's People

Contributors

lemondevxyz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.