Skip to content

ZhaohanM/Magazine_scotland

Repository files navigation

CS22 Main

A web application for the project CLO

Description - CLO

Scottish print portal – an online gateway to bridge the gap between analog and digital worlds, supporting the community which coexist at the cross-section

Installation

Use the package manager pip to install django and stripe.

pip install django
pip install stripe

Clone the repository into your desired location, and run the following commands

git clone https://stgit.dcs.gla.ac.uk/team-project-h/2021/cs22/cs22-main
cd boomsaloon

Dependencies

The dependencies can be found in the requirements.txt file. To install them, run the following command:

pip install -r requirements.txt

Set up

Make sure you are in the directory ~/cs22-main/boomsaloon/ and execute the following in a command prompt

python manage.py makemigrations
python manage.py migrate

Optionally, to populate the database with sample data, run the following command

python populate_mags.py

Executing program

python manage.py runserver

Open your browser and navigate to your localhost URL to view the page.

Additional: Testing

Unit testing has been provided, run it with the following command

python manage.py test magportal.tests

Authors

Contributors names and contact info:

Zhaohan Meng 2582280m@student.gla.ac.uk

Gunraj Gulati 2502903g@student.gla.ac.uk

Robbie Edgar 2461502e@student.gla.ac.uk

Nathan Pham 2439753p@student.gla.ac.uk

Acknowledgements

  • Django - A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Stripe - Online payment processing technology for internet businesses
  • jQuery - A lightweight, "write less, do more", JavaScript library.

License

Apache

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published