Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

usydtechlab/deadly-science

Repository files navigation

CS-42-3 DeadlyScience

This project is for the DeadlyScience Project which is aimmed at to set up a website where rural students can get in touch with scientists. Because we didn't deploy this project to the cloud yet due to the limited time, so we use intranet penetration instead. If you need an external user test (www.deadlyscience.xiaomy.net), please contact us by Slack or send an email to wanglundi@gmail.com, We will reply as soon as possible!

Environment

  • Operating system: Linux Server (Ubuntu 16.04 or higher)
  • Hardware: 1 core 2.0GHz GPU, 1GB RAM, 200MB ROM (At least)
  • Software: Python 3, MySql server
  • Environment: Python, MySql server, Public IP location.

Files

The folder provided to clients contents 3 parts:

  • Project folder
  • readme.md (This document)
  • Server-api.xlsx (provide majority API used in server)
  • User documentation
  • The reinstallation document for clients

Version

This is the bulic 1.0 version.

Sample Account

Students: email: wanglundi@gmail.com password: 1234

scientist: email: 18877331313@163.com password: 1234

Functions

Captone CS42 structure

The majority functions is shown in figure above.

Refactoring logs

  • Archive original docs from Capstone team CP42-3
  • Collect all the dependencies into requirements.txt
  • Implement containerisation
  • Test app running in Docker container
  • Change to use AWS SES for sending Email notifications
  • Test student/teacher - Sign up, Sign in, Email verification, Forget Password

Create Database schema

Detect the model changes and make migrations

docker exec -it deadlysci-web python manage.py makemigrations

Execute migrate to sync up database schema in MySQL

docker exec -it deadlysci-web python manage.py migrate
docker exec -it deadlysci-web python manage.py createsuperuser

Admin page superuser login:

docker exec -it komprenu-web python manage.py createsuperuser
Username (leave blank to use 'root'): techlab
Email address: techlab@sydney.edu.au
Password: ***
Password (again): ***
Superuser created successfully.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •