A simple registration database system for CmpE321 project 2.
To run the application;
-
Install:
Django==3.2.3 environ django_environ mysql_connector_python mysqlclient django-crispy-forms mysql-server==8.0
-
Run your mysql server, preferably on 127.0.0.1/3306
-
Create a database on your mysql server.
-
Create .env file containing the host, user, password and database-name information to connect to the mysql server from the app. The file should look like:
MYSQL_HOST=127.0.0.1 MYSQL_USER=root MYSQL_PASSWORD= MYSQL_DATABASE=
-
add .env into directories simpleboun simpleboun/simpleboundb simpleboun/registration
-
run the following command while in simpleboun directory: python createdb.py
-
run the following command while in simpleboun directory: python manage.py migrate
-
run the following command while in simpleboun directory: python manage.py runserver
-
go to the address your application server is running on in your browser