Coder Social home page Coder Social logo

Setup about asciidots-demo-backend HOT 4 CLOSED

aaronjanse avatar aaronjanse commented on June 14, 2024
Setup

from asciidots-demo-backend.

Comments (4)

aaronjanse avatar aaronjanse commented on June 14, 2024

First, thanks for helping!
Seriously, I really appreciate it.

Running the backend

You'd install the requirements in requirements.txt with:

pip3 install -r requirements.txt

Once you do that, you can run the server via:

python3 app.py

Unless you set the PORT environment variable, this will run on port 5000.

Running the frontend

Clone the frontend repo.

Change the lines where the web socket URL is defined to point to localhost. (Change this back before you make a PR)

After that, you can serve that file on localhost with:

python3 -m http.server

You can now view the frontend at localhost:8000

Once again, thanks for helping

from asciidots-demo-backend.

jpfeiffer16 avatar jpfeiffer16 commented on June 14, 2024

Cool, thanks. I'll walk through the steps. No problem, I figure it's a good way to learn some more python and do some JS.

from asciidots-demo-backend.

aaronjanse avatar aaronjanse commented on June 14, 2024

@jpfeiffer16, I think the dropped char problem might have to do with the JS (client-side) parsing.
The way its done is... questionable

from asciidots-demo-backend.

jpfeiffer16 avatar jpfeiffer16 commented on June 14, 2024

Ok. I'll start there. Thanks

from asciidots-demo-backend.

Related Issues (3)

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.