Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get started #54

Closed
Acta2000 opened this issue Aug 21, 2018 · 1 comment
Closed

How to get started #54

Acta2000 opened this issue Aug 21, 2018 · 1 comment

Comments

@Acta2000
Copy link

Hello,

id like to use your script with other teams. But im really new to typescript.

What must i do to get this script working on my server? After i upload nothing happends.
When im open http://mydomain/drawer/src/template.html igot a blank page
There is no Index.html

I know that the name of teams und countries are written under /clubs.json etc.

@inker
Copy link
Owner

inker commented Aug 27, 2018

@Acta2000 This is a web application, so just copying the index.html to run it would not suffice. In order to run it locally, you'll need Git (to clone the project), Node (as a runtime), npm (to install the dependencies, included in node).

First clone the project. I don't know which OS you're using, but if it's anything Unix-like, open your terminal & type:
git clone https://github.com/inker/draw.git
Now go to the project directory:
cd draw
and install the dependencies:
npm i
Once done, start the project:
npm start
It will build the project & open a new tab in your browser.

All team names are fetched from Bert Kassies' site, so if you wish to roll your own, you'll have to override them somewhere in this function.

Good luck!

P.S. To run on Windows, you'll probably need git bash (which comes with Git).

@inker inker mentioned this issue Aug 27, 2018
@inker inker closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants