Skip to content

An Ambrose Treacy Collehe blogging website for their English Department. Digital solutions Y11, T4

License

Notifications You must be signed in to change notification settings

NathanPerrier/Y11-T4-ATC-Blogging-Website

Repository files navigation

Perrier-Digital-Blog-Y11-T3

Created by Nathan Perrier of Ambrose Treacy College

This is a blogging website for ATC, created as part of the Y11 FA3 project.

Setup and Running the Project

Follow these steps to set up and run the project:

  1. Allow the execution of scripts for the current user:

    Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force
  2. then create the virtual environment using:

    python -m venv venv   
  3. active the virtual environment using:

    .\venv\Scripts\activate 
  4. install dependencies to venv, using:

    python3 -m pip install -r requirements.txt
  5. create a file called .env and include:

    SECRET_KEY = 'your_secret_key'
    
    OPENAI_API_KEY = 'your_api_key'
    
    GOOGLE_API_KEY = 'your_google_key'
    
    GMAIL_SECRET_KEY = 'your_gmail_secret_key'
    
    GMAIL_SENDER_EMAIL = 'your_gmail_for_sending_emails'
    
    GMAIL_ADMIN_EMAIL = 'recipient_gmail_for_tickets'
  6. Run the website using:

    python3 -m run.py

Structure

The project is structured as follows:

  • backend/: Contains the backend Python code.
  • frontend/: Contains the frontend HTML, CSS, and JavaScript code.
  • requirements.txt: Lists the Python packages that the project depends on.
  • run.py: The entry point to the application.

Contributing

If you want to contribute to this project, please fork the repository, make your changes, and open a pull request.

License

This project is licensed under the terms of the MIT license. See the LICENSE file for the full license text.

About

An Ambrose Treacy Collehe blogging website for their English Department. Digital solutions Y11, T4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published