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

Displaying generated rivers on personal sites #28

Closed
tanakamapondera opened this issue Nov 5, 2018 · 1 comment
Closed

Displaying generated rivers on personal sites #28

tanakamapondera opened this issue Nov 5, 2018 · 1 comment

Comments

@tanakamapondera
Copy link

Hello!
I recently came across your River5 project on GitHub. It has been interested in going through the code to understand all that is going on and I am attempting to include one of the generated "river.js" files on my blog website, however, I am getting a little confused.

Does anyone happen to have a video walking through the instructions on this page: https://github.com/scripting/river5/blob/master/docs/HELLOWORLD.md

I understand downloading the source code and making the necessary changes as such but not sure how or where to deploy the new code. I'll still rather new to web development.
Personally, learning from example would be ideal.
Thank you in advance!

@andysylvester
Copy link

TsterRM,
Here are some ways to approach adding a river to your website:
A. Website hosted on a shared hosting service (Bluehost, etc)
If you are on shared hosting, your site files are probably within a folder called "public_html" or something like that, with your specific files within a subfolder of that folder. For that setup, you could create another subfolder (say, /files) and put the HTML file there, with a URL like http://www.example.com/files/helloworld.html. For the value of urlDefaultRiver, you would follow the format given, but replace http://radio3.io with the URL of your River5 server, and the Javascript file with the filename your River5 install is generating. One more thing on the URL: the default port for River5 is 1337, so your server URL would be http://www.example.com:1337.

B. Website on the same server as your River5 install
I would do the same as option A, assuming that your web site files are within some folder on the server.

If you could supply some more information on your web site server setup, that would be helpful.

Andy Sylvester
http://readinglist.andysylvester.com/

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