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/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
-
Inside the created and activated virtual environment,
Install
the required packages from requirements.txt by running the command:pip install -r requirements.txt
-
Migrate the data to the database (
Sqllite
by 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