How to deploy a mkdocs website inside another github website? - github-pages

I have a website created in my github account using this template:
https://github.com/greenelab/lab-website-template
As one of the links in this website, I want to create some documentation using mkdocs but I am not sure how can I configure it in order not to replace the existing website and just add it as another document inside the old website.
Any idea how (or if) I can do this?
thanks

Related

Will I be able to use a wordpress site domain as a django website on a VPS?

I deleted all the files and folders associated with the Wordpress site I intend to write from scratch using standard HTML, JavaScript, CSS and with Django framework. My question is if I can use this domain with this newly created site in a VPS.
At first I had erased the files and folders and recreated it with the Django app right onto the Wordpress structure, and that does not seem to be working. I am most likely doing something wrong anyways, but I am after the right way of accomplishing this.
Domain names are separate from web servers (such as your VPS), CMS (e.g. WordPress) or a framework (e.g. Django). So there is no problem using that same domain name for your new website with Django.
However, you'll need to reconfigure your VPS to run Django. Better if you reinstall your VPS with Django. Follow the guide provided by your VPS to install Django properly. This includes configuring the web server (e.g. Apache or Nginx), setting up a database, and properly linking your domain to the new server.

Can hosted GitHub Pages websites accept file uploads?

I would like to create a simple website that accepts a text file upload for a small project that parses the text. Is this possible to do with GitHub Pages? I haven't found anything that addresses this functionality so I am wondering if it is possible or not.
As seen in this issue, there is no server side configuration or execution with GitHub Pages, so no.
The only workaround is rafrex/spa-github-pages: Single Page Apps for GitHub Pages, a lightweight solution for deploying single page apps with GitHub Pages. You can easily deploy a React single page app with React Router <BrowserRouter />.
But that might not include what you are looking for.

using s3 for a website which includes ajax calls and node modules folder

I need your help regarding on serving my webapp on a server:
I have a nodejs app and I have it running in ExpressJs in beanstalk and it is working fine,
However I am thinking to use s3 instead. So in my website I have all sort of ajax calls and also I have couple of modules in nodejs folder which is generated via npm install.
Here is the link I used in aws:
http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
But it is not very clear about it.
I am thinking if it is doable to use s3 for this website?
Also can you please provides some pros and cons? I appreciate it because this will help me a lot on making decision whichone to choose?

How can I implement video chat in my website using Django?

I want to develop a website in which users can have video chat and they can connect to other user anonymously without had been added by the other person as friend. I also want that all the active users list is displayed on the website. So somebody please suggest me how can I implement it on django?
You can use a third party service for this. Or you can use WebRTC. There are some nodejs packages which can help you do this. I like "EasyRTC" for that.
Or if you want to use Python, you can use Twisted. Here's a tutorial (found on Google, not tested by myself - https://ferretfarmer.net/2013/09/05/tutorial-real-time-chat-with-django-twisted-and-websockets-part-1/)
In essence, Django doesn't handle the video streaming/chat part. You can use Django for authentication and serving the required html and other stuff. But the video chat needs to depend on other services.
If you are looking to create a video calling and chat application using django, django_channels, you can refer to this Github Repository .
It also tells you how to deploy your app to google app engine flex with Redis instance.
It took me a long time to build this, so I created a detailed basic public repository to help someone like myself and for future reference.

how to run a static site on bitnami and AWS?

I am quite a noob when it comes to cloud based apps, this is a completely new context for me. I currently got the github education pack, part of it was an account on bitnami. I was wondering if it's possible to host a static html site on bitnami, I tried a few things but so far I got no where. I know that i can deploy a wordpress or drupal instance and then I can configure a theme for those, but I just want a simple static html site to run. Any guidance on how I can do that?
To host static website using Bitnami try following steps.
Run an AWS instance from marketplace using 'LAMP Stack powered by Bitnami' AMI. This AMI will have pre-configured LAMP stack.
Attach EIP to your Instance
Upload you website files to /var/www/html/
Type your EIP in browser and if everything went right you should be able to see your website.
Do you really want a static website on Bitnami or it could be in another platform?
Because you could host one on GitHub Pages. Just follow the guide.
To host a super fast static site using a bitnami provided image I would use an nginx based stack such as: https://wiki.bitnami.com/Infrastructure_Stacks/Bitnami_Nginx_Stack