Skip to content

About

This is an ALX project to build Campus

Resources

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

WELCOME:

You are gladly welcome for deciding to contribute in this project. Your idears and creativity are highly welcome.

PROJECT OVERVIEW:

MiniCampus is a social and educational website meant for university students and the school community. The aim of the website is to provide a platform where students can learn and socialize all in one place. It comes with features like:

  • Posts - where you can post content related to academics and your fellow students can comment like and repost.
  • Communities - here you can join a community and post messages related to it.
  • Courses - this is where you can find all your courses and assignments.
  • Messages - whereby you can add friends and message them.
  • Library - in here, lecturers and students can upload resources that pertain to academics.

INSTALLATION:

The following are the step by step guides to actiively work on this project. Note: make sure Python is installed on your machine. Do this to check if it is installed;

$ python --version

Create an environment

$ cd varsity_campus
$ python3 -m venv/bin/activate for (macOS/Linux) users.
$ source venv/bin/activate for window users.

Installing flask

Within the activated environment, use the following command to install Flask:

$ pip install Flask

Then run the flask using this command.

$ python3 -m flask run
or
$ flask run
or
$ flask run --debug

Dependencies:

These distributions will be installed automatically when installing Flask.

  • Werkzeug implements WSGI, the standard Python interface between applications and servers.

  • Jinja is a template language that renders the pages your application serves.

  • MarkupSafe comes with Jinja. It escapes untrusted input when rendering templates to avoid injection attacks.

  • ItsDangerous securely signs data to ensure its integrity. This is used to protect Flask’s session cookie.

  • Click is a framework for writing command line applications. It provides the flask command and allows adding custom management commands.

  • Blinker provides support for Signals.

Optional dependencies

These distributions will not be installed automatically. Flask will detect and use them if you install them.

  • python-dotenv enables support for Environment Variables From dotenv when running flask commands.

  • Watchdog provides a faster, more efficient reloader for the development server.

REQUIREMENT

To make the software requirements available on you machine, type the following commands in your terminal

$ pip install -r requirements.txt

CONTRIBUTION GUIDES:

We welcome contributions from you to enhance the MiniCampus if you wish to contribute; Just:---

* fork the repository.
* Create a new branch.
* make your changes and submit a pull request

CONTENTS OF THE VARSITY_CAMPUS APP

# NO. Folder's name
01 app
02 instance
03 migrarations
04 tests
05 venv

Usage

Register page Purpose: This create a new user account to access the website. This will allow you enter your registered email and password on the login page. Register.jpg

Login paage purpose: This allows you to access your personal account

About

This is an ALX project to build Campus

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages