Is there anyway to host a bot dashboard for free? [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am working with discord.py, I am wondering if there is a way I can get python to change the data and read the data off a website, like the MEE6 dashboard.
I have data user data like level and XP stored in a postgresql database, hosted with elephantsql
I have the bot hosted on heroku.
Is there a way to acomplish this with a
WIX site or a google site?
Edit:
So ^ wont work but are there any good tutorials out there on how to use
HelioHost or Netlify

You can use netlify to host a website which can be controlled through private GitHub repositories. A dashboard consists of the backend to edit a database so even helios host will work. You cannot use Wix or a google site as they only support front end code.

For hosting the bot you could use heroku and every time you change something you could push it like using a git repository.
or you can use serverless With Google cloud functions
To make a discord.py bot run 24/7 but still be able to edit it
You can use cogs, which will allow you to load, unload, and reload extensions. So then all you need to do is make changes in this cog, and then reload it, for the changes to take place.
https://discordpy.readthedocs.io/en/stable/ext/commands/api.html?#cogs

Related

How do I link my Python code to Google Cloud's services? Which service should I use? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have some Python code that I want to use in a flutter app. The code imports quite a few python packages. It is designed to take an input from a flutter app, then process it - partly with the help of the packages - then send the output back. I had a look at the various Google Cloud products, and correct me if I'm wrong, but Cloud functions cannot be used with imported python packages, so that rules it out. So I'm left with App Engine and Cloud Run (?). In that case, which of the two should I use to host the backend code, and how can I get started in doing so? Thanks in advance and cheers.
You can use Cloud Functions with Python, it is a very popular option.
The guide on how to do it is described in this quickstart.
The code should be put in the main.py part and the importst that you used have to be described in a requirements.txt file. Which you can get from you environment, from answer.

How to deploy Django application developed locally in PyCharm to Web Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I made a project in Pycharm 2018.3 community version with Django and now I want to deploy to a web server to host the project. I'm using Mamp host the web server, but I don't know how to export/import my project from Pycharm to Mamp.
How do I deploy from Pycharm to the web server? What are the options for GitHub integration with Pycharm? Are there other ways to move the project to the web server while staying in the PyCharm IDE?
Thanks very much!
This may fall under looking for opinions, but in general, PyCharm provides you with a few options. You can use the deployments option by setting up a remote host (once you have your server set up) which allows you to develop locally, then sync up over ssh either automatically or when you goto Tools -> Deployment -> Sync Local to Deployed.
Although this previous option can work in PyCharm, I'd opt for and highly suggest setting up a git repository (Github, Bitbucket or other) then use PyCharm to commit and push your code to that remote repository. Then from your server, you can pull down the code from the git repository. This allows you the benefits of managing the code changes through all of the utilities a version control system provides.
You'll want to pay particular attention to any paths you have set in settings.py as they will likely differ on your server. One way to manage that is to use environment variables which allows you to refer to the environment variable, with your local development machine having it's own settings, and the server with its own set. https://12factor.net/config

Cloud hosting python code + MongoDB + cron [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a free solution that allows for a python script to be run as a scheduled task. The script connects to a MongoDB that I would like to have on the same server. The DB will be smaller than 1GB.
Intuitively, what I need is a computer which I can access remotely, that runs scheduled tasks, and where I can install MongoDB Server, Python, and all the python libs the code needs.
I've tried to understand the solutions of aws, but get a bit confused with all the different solutions they offer.
Can somebody point me in the right direction?
Heroku Cloud is nice platform to upload python apps. Also it provides an add on to schedule tasks. Although it provides mongo database as an add on, you may want to use mongo lab , which provides 500mb of free storage.

Django Github Hook [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am new in Django and github API.
I've built project changelogs application using Django, user can add the project name, version, changelogs and etc.
I have plan that user who insert the project to my application, they can connect their project with their github repo.
So, when someone make a commit with tag FEATURE on their repo, it will automatically added in project's changelog.
I have no Idea to do that.
I see this project https://github.com/sheppard/django-github-hook but it seems not as I want.
Is there any other references?
Thanks.
For working with github repos hooks, first you need an application waiting for github calls. Then setup a page to configure customers hook to notify when that happens.
Check this link for decription how to configure hooks and what is epected message from github side.
The remains tasks is on your hand :)

Is there any Open-Source project hosting that allows to programmatically upload distribution? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I develop open-source project in Python and I want it to be easy accessible for Windows users. So for each new source revision I need to generate new windows executable distribution with py2exe and upload it as a downloadable artifact for project users.
I'd rather not do it each time manually but instead I would like to write some type of script that will do both things (generation, upload) in single command, fully programically.
So the question is: are there any Open Source project hostings that provide simple API to make operations like uploading new version of distribution?
Currently I'm using Google Code but it doesn't support that feature (I expected it to be supported as Google Data Api Service but it isn't). I don't really know too much about other hostings - that's why I'm asking.
Check out the GitHub Downloads API or, if it's something suitable for packaging, then look at PyPI, the Python Package Index
Google Code does support it perfectly well: http://code.google.com/p/support/wiki/ScriptedUploads
Most other such sites do in a similar way; on one project on SourceForge, for example, I have a release script which uploads a file to the release system by FTP.
The Python Distutils that come with Python support uploading to the Python Package Index.

Categories

Resources