8000 GitHub - ntuifranklin/testudo: Android Student Grades Manager
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ntuifranklin/testudo

Repository files navigation

Turtledo

Turtledo is an android app that enables a student to register for a course at the University of Maryland.

setup

First setup password less authentication with github

On windows

On windows navigate to your home directory.

cd %HOMEPATH%

Create the .ssh folder if it does not exists.

mkdir .ssh
cd .ssh

Create a new key if you do not have one.

ssh-keygen -t rsa -b 4096 -C "user@email.com"

view the content of the public key just created( in this case the key name is id_rsa)

type id_rsa.pub

On Linux/MAC

cd ~

Create the .ssh folder if it does not exists.

mkdir .ssh
cd .ssh

Create a new key if you do not have one.

ssh-keygen -t rsa -b 4096 -C "user@email.com"

view the content of the public key just created( in this case the key name is id_rsa)

cat id_rsa.pub

Add key to ssh agent

ssh-copy-id ~/.ssh/id_rsa
eval "$(ssh-agent -s)"

Clone This Repo

Then clone this repo by running on the command line:

git clone git@github.com:ntuifranklin/cmsc436grproj.git

The androidui folder is an android app setup to run automatically without any other further installation required.

Server Setup

The server needs to have wamp or xamp server setup. The ./sql/flush_and_reload_tables.sql contains the sql queries to create the database on server side from scratch.
The only manual thing to do is to create the user fnkokamn_dbadmin with password AV7y8JFAnSrkyzy.
The grant mysql query also needs to be run to grant the new creaed user privileges to run queries on the backend. The following parameters need to be set server side for the android app to run properly

$servername = "localhost" ;
$username = "fnkokamn_dbadmin";
$password = "AV7y8JFAnSrkyzy"; 
$database = "fnkokamn_terpdb";

Backend calls

Format : http://server.domain/backend.php?action=action_name&param1=value1&param_i=value_i server.domain is supposed to be s56.cmsc436-2301.cs.umd.edu/server. For some reason the firewall might block access in android. The examples below use an aws free instance running at https://s56.cmsc436-2301.cs.umd.edu/server.

Example of backedn call actions (value that the URL_LINK in android is supposed to take) :

Important Links

Contributors

Potential Errors

When you git fetch or git pull from the main branch, the newly added google ad code might
not work if you did not rebuild after addition of google ad api key. To fix :

References

About

Android Student Grades Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0