Skip to content

Latest commit

 

History

History
58 lines (33 loc) · 2.09 KB

README.md

File metadata and controls

58 lines (33 loc) · 2.09 KB

COM.S.AS Website - UY1

Overview

This repository aims at building a website for the Computer Science Association (COM.S.AS). This is for a proper management (like information backup) for the current and future generations of the (executive )association and an online presence to enable accessibility to students and facilitate communications in the upcomin days.

Project Location

Save time and land directly into the important project files (settings and apps). Click here

Project setup

  1. Clone the repositiory into your workstation (device/machine) by running the command:

     git clone https://github.com/COMSAS-UY1/comsas-website.git
    
  2. Place yourself at the root of the project.

     C:\Users\...\comsas-website\
    

Before executing the following commands, always make sure you are at the root of the project.

  1. Setup the virtual environment for the project at its root by running the following commands:
    Creation/Installation

     1. pip install virtualenv
     2. virtualenv .env
    

    Activation on Windows

     3. .env\Scripts\activate
    

    Activation on Linux/MacOS

     3. source .env/bin/activate
    

    To deactivate the already activated virtual environment, simply type deactivate in the terminal, if not run the following command:

    Deactivation on Windows

     .env\Scripts\deactivate
    

    Deactivation on Linux/MacOS

     source .env/bin/deactivate
    
  2. Inside the created and activated virtual environment, Install the required packages from requirements.txt by running the command:

     pip install -r requirements.txt
    

Launching of the project

Before executing the following commands, always make sure you are at the root of the project.

  1. Migrate the data to the database (Sqllite by default):

     python manage.py migrate
    
  2. Run the project using the command:

     python manage.py runserver
    
  3. Check the server is running by going to localhost:8000