-
Notifications
You must be signed in to change notification settings - Fork 11
[Misc]: Add setup instructions and database python script #69
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
base: development
Are you sure you want to change the base?
[Misc]: Add setup instructions and database python script #69
Conversation
|
The thing is that some dependencies just seem not to work or something when I run Also, I'm gonna be honest, as I'm not sure where to find every information I need and that are going to work for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. ideally we'd have Flask-SQLAlchemy initialize the database on their behalf; this older schema should ideally be removed.
However, I notice that using flask --app server.py db directly currently fails due to a dependency on the database via start_db_time... this is not ideal. I've created #70 to track this.
Would you be willing to invest time into adapting the existing SQLite3 schema to match that of our definitions? We should do better going forward, but this would help in the meantime.
This error is purely because its trying to compile a python module without having python-dev (this contains the headers for python that gcc needs), nothing directly to do with 3DS-RPC. |
I barely understand SQL normally, let alone the weird SQLAlchemy stuff. So im probably not the right person for the job |
It's very likely you may need to install
I certainly agree - we note some regarding |
No worries at all :) Assigning this to myself for when I have some free time this weekend to properly investigate. In the meantime, this setup guide certainly is quite helpful - thank you so much! I'm going to merge this once understanding more what we need for setup, and we can elaborate in subsequent commits. |
I'll be sure to check further about this in the next days also to help with the documentation if possible |
|
Installing python3-devel successfully fixed the dependencies issues thank you! |
|
So there's something that have confused me a bit. In private.py, you need console information? Does that mean part of this code is running on a real 3ds or it's emulated? I'm not that sure about running python on a 3DS, as its hardware is quite limited (few mb of ram, dual core ARM11 (MPCore) processor) so if it is somehow, I'll change my approach for the asynchronous PR I have knowledge in C, the 3ds and assembly for armv6 (3ds uses ARM11 which is an armv6 processor) so at worst I'll try to speed things up with that as I don't want to accidentally create issues with python |
You strip special keys unique to the console and "emulate" being the 3ds on a desktop/server, you dont actually run anything physically on the 3ds |
Oh okay that's reassuring. Do I need to take real keys from my own 3DS or I should generate them somewhere? |
Yeah you have to use real keys, u cant just use dummy ones. I remember having issues getting a working set of all my keys, i believe i kept having issues with one of them working correctly. So I'd highly recommend hopping into the #Development channel for help getting working keys if you get stuck. As far as I'm aware theirs no good guide around. |
When checking out #68 i noticed we didn't actually have a clean setup guide anymore apart from a sh script, so it didn't really work for windows etc.