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.
Save time and land directly into the important project files (settings and apps). Click here
-
Clone the repositiory into your workstation (device/machine) by running the command:
git clone https://github.com/COMSAS-UY1/comsas-website.git -
Place yourself at the root of the project.
C:\Users\...\comsas-website\
-
Setup the virtual environment for the project at its root by running the following commands:
Creation/Installation1. pip install virtualenv 2. virtualenv .envActivation on Windows3. .env\Scripts\activateActivation on Linux/MacOS3. source .env/bin/activateTo deactivate the already activated virtual environment, simply type
deactivatein the terminal, if not run the following command:Deactivation on Windows.env\Scripts\deactivateDeactivation on Linux/MacOSsource .env/bin/deactivate -
Inside the created and activated virtual environment,
Installthe required packages from requirements.txt by running the command:pip install -r requirements.txt
-
Migrate the data to the database (
Sqlliteby default):python manage.py migrate -
Run the project using the command:
python manage.py runserver -
Check the server is running by going to localhost:8000