Skip to content
/ Test Public

Sistema para gestionar y administrar zonas

Notifications You must be signed in to change notification settings

3lRust/Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

For Windows open the cmd and go to the project folder

Create a virtual environment with

python3 -m venv c:\path\to\your\project\env_name

Activate the environment

env_name\Scripts\activate.bat

With the command line enter inside the test folder

cd test

Install the packages in the requirements.txt file with the command:

pip install -r requirements.txt

To run the django server use the command, this command should create a db.sqlite3 file

python manage.py runserver

Open another cmd and go to the project folder where the package.json is located and run

npm i

To compile the assets use

npm run dev

To compile while working use

npm run watch

Run the command to create the migrations

python manage.py makemigrations

Run the command to apply the migrations

python manage.py migrate

When the database has been created run the command seed_db to populate with initial data

python manage.py seed_db

About

Sistema para gestionar y administrar zonas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors