Skip to content

this is a project for control of accounts in small business (Ex.: bakery, grocery store, pastry shop).

License

Notifications You must be signed in to change notification settings

BunoQueiroz/account-manager

Repository files navigation

em desenvolvimento

🔨TOOLS

SUMARY:

✏️ Description

This is a project designed for internal management of micro businesses. It uses the django admin site as a base. It is not recommended to use for managing large or large-scale businesses


Initial steps

-- Open your terminal

  • Create a folder:
mkdir account-manager
  • Go to this folder:
cd account-manager
  • With the git installed, do:
git clone https://github.com/BunoQueiroz/account-manager.git .

For run locally 🏠

  • With the Python installed, create a virtual envirement:
python3 -m venv venv
  • -- For Windows:
python -m venv venv
  • Active the virtual envirement:
source venv/bin/activate
  • -- For Windows:
venv/Scripts/activate
  • Install the dependencies:
python3 -m pip install -r requirements.txt
  • -- For Windows:
python -m pip install -r requirements.txt

To run the application, you must define the environment in a .env file according to the .env.example file. For more details visit the official documentation Django

python3 manage.py migrate
  • -- For Windows:
python manage.py migrate
  • RUN
python3 manage.py runserver
  • -- For Windows:
python manage.py runserver

Ready! Now, access localhost:8000 in your browser

For run in docker container 🐋

docker-compose build
docker-compose up -d

Then:

docker container ls

Copy the id of container 'application':

  • And, do it:
docker exec -it <container_id> python3 manage.py migrate
  • --For Windows:
docker exec -it <container_id> python manage.py migrate

Final steps:

  • Now, with the system running, create a super user:
python3 manage.py createsuperuser
  • --For Windows:
python3 manage.py createsuperuser
  • And enter the username and password:

👏👏 Congratulations! You can now use the system

Contact:

About

this is a project for control of accounts in small business (Ex.: bakery, grocery store, pastry shop).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published