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

Trouble customizing #30

Open
aknight2015 opened this issue Dec 7, 2022 · 5 comments
Open

Trouble customizing #30

aknight2015 opened this issue Dec 7, 2022 · 5 comments

Comments

@aknight2015
Copy link

I'm having a lot of trouble customizing this for use as a Warhammer 40K terminal. I'm in the config/network/ folder and I'm playing with the Manifest.json files as in the readme, but changes aren't taking.
Does the server address have to be in the format of a real one? As I'd like to put in things like '++Node 43++' type of thing. Also, when I published it to pages, what does it default to? As I'm IN the localhost folder and changes are displaying.

@Lucas-C
Copy link
Collaborator

Lucas-C commented Dec 7, 2022

Hi @aknight2015

Glad to see that DMs are using this tool, I wish you and your players lots of fun in your Warhammer 40K game session 😁

I had a look at your fork: https://github.com/aknight2015/email_terminal

It seems to have deployed well: https://aknight2015.github.io/email_terminal/

So I think that "the changes are taking" 😊

To test this on your computer "locally", you will need to launch a local web server.
This can be done easily with Python, using this command: python -m http.server

Then you can access http://localhost:8000 to display your terminal

There are other ways & tools to launch a local web server on your computer,
but just displaying the index.html in your browser using a file:/// URL won't work.

@aknight2015
Copy link
Author

aknight2015 commented Dec 7, 2022 via email

@Lucas-C
Copy link
Collaborator

Lucas-C commented Dec 7, 2022

I'm most likely going to need help as I continue. Also, you never specify the size of image needed.

There are no size specifications for images.
You can find usage examples of inserting images in the config/ folder.

@aknight2015
Copy link
Author

Okay. So, I have 5 players, each need to access a different "network". Is there a way to make it so that they have to "login" and use that to determine which network they access?
Example:
Player 1 accesses 11.152.9.6 (Which I can rename to anything I want)
Player 2 accesses 111.222.3.4
Player 3 accesses 279.1.156.15
and so on.

@Lucas-C
Copy link
Collaborator

Lucas-C commented Dec 9, 2022

I see two ways for you to have "isolated" networks for your players:

  • either you deploy this web application, email_terminal, at different URLs (on servers exposed on the web, on several GitHub Pages, or simply in different folders on your computer), each with its own configuration. Then you give your players only access to the email_terminal URLs you want them to have access
  • you have a single configuration for your networks & servers, but you add passwords to secure access to them, and you give your players only the passwords for the servers they should have access to

Note that I have just made a change on the latest version of email_terminal in PR #31:
now the mechanism of using telnet + login commands to login as a user on a server has been replaced by a single call to ssh [username[:password]@]address (parameters in square brackets are optionals).
To benefit from this change on your fork, you will need to rebase: https://medium.com/@topspinj/how-to-git-rebase-into-a-forked-repo-c9f05e821c8a

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