Skip to content

Commit

Permalink
Merge pull request #113 from ICESI-PI1-2024A-G1/develop
Browse files Browse the repository at this point in the history
BUILD: MD Develop
  • Loading branch information
Sebastian-411 authored May 14, 2024
2 parents cc42da4 + def4f58 commit d339c22
Showing 1 changed file with 27 additions and 34 deletions.
61 changes: 27 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,46 @@
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-24ddc0f5d75046c5622901739e7c5dd533143b0c8e959d652212380cedb1ea36.svg)](https://classroom.github.com/a/mxgxu2b2)

Configuration for collaborative work:
## User Section:

1) Have postgresql installed in version 16.2 (password "admin")
Welcome to the Hiring Module!

2) Have postgresql in environment variables
This software aims to streamline the hiring process and facilitate the management of shared office resources. With our tool, you can efficiently track the entire hiring cycle until the contract is finalized.

3) Create the hiring_module database for local use
If you're interested in learning more or want to test our demo, please contact us [here](mailto:[email protected]).

> psql -U postgres -c "CREATE DATABASE hiring_module;"
**Demo Link:** [Hiring Module Demo](https://proyecto-t5.onrender.com)

4) Have python installed since version 3.12.1
## Developer Section:

5) Create a virtual python environment (in a location other than the repository or project directory)
### Overview:

>python -m venv hiring_venv
The Hiring Module is developed using Django framework, providing a robust solution for managing hiring processes. The application utilizes PostgreSQL for the primary database, while a temporary SQLite database is used for testing purposes.

**From here the steps will be necessary every time you work on the project**
### Setup Instructions:

6) Activate the virtual environment
1. Configure environment variables, including database connection details, in the `.env` file.
2. Navigate to the project directory:

> ./hiring_venv/Scripts/activate
When you are in the virtual environment you can work on the project

7) Make the necessary installations of dependencies

> pip install -r requirements.txt
8) Move to the project directory

> cd hiring_module
9) Make database migrations

Being in the project directory...

> python manage.py makemigrations hiring_app
> python manage.py migrate
10) Run server
Being in the project director...

> python manage.py runserver
```bash
cd hiring_module
```

3. Perform database migrations:

```bash
python manage.py makemigrations hiring_app
python manage.py migrate
```

4. Run the development server:

```bash
python manage.py runserver
```

### Important Notes:

- This codebase serves as a demo and is not intended for production use in critical business operations.
- Developers are encouraged to set up an SMTP server for handling progress notifications and other relevant functionalities.

Thank you for your interest in the Hiring Module! If you have any questions or suggestions for improvement, feel free to reach out to us.

0 comments on commit d339c22

Please sign in to comment.