/Django_Alfax

my first django project Alfax Made For Managing Projects

Primary LanguageCSS

Alfax

this is the first Version of Alfax made by Love in Django.

KarfarmaOnline is Out :) http://Alfax.ir/dashboard/karfarmaonline/

Getting Started For Development

Setup project environment with virtualenv and pip.

$ git clone git@gitlab.com:jupidev-code/alfax.ir.git
$ python -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt

# Create Super user And Migrations.

$ cd alfax.ir/
$ python manage.py createsuperuser 
$ python manage.py makemigrations
$ python manage.py migrate

# Finally Run Project.

$ python manage.py runserver <port>

Installation With Docker

  • Run Project on Docker

1. install Docker And Docker-compose on your system

  • For Ubunto
$ sudo apt install docker.io
$ sudo apt install docker-compose

2. Create Volumes And Networks on your System

  • Create volumes
$ sudo docker volume create alfax_static_volume
$ sudo docker volume create alfax_media_volume
$ sudo docker volume create alfax_postgresql
  • Create Networks
$ sudo docker network create alfax_network
$ sudo docker network create nginx_network
  • Run docker-composers
$ git clone git@gitlab.com:jupidev-code/alfax.ir.git
$ cd Alfax/ 
$ sudo docker-compose up -d
$ cd config/nginx
$ sudo docker-compose up -d
  • Make Migrations
$ cd Alfax/  ## if you are in /alfax/config/nginx ==> $ cd ../../
$ sudo docker exec -it alfax_alfax_1 sh
# python manage.py makemigrations
# python manage.py makemigrations blog
# python manage.py makemigrations land
# python manage.py makemigrations projects
# python manage.py makemigrations dashboard
# python manage.py makemigrations authentication
# python manage.py migrate

#### Creating Superuser

# python manage.py createsuperuser

# exit

Enjoy it :)

Features

  • Manage and Modify your Company Contact.
  • Manage and Modify your Company Accounting.
  • Manage and Modify Construction Company Accounting.
  • Simple logging setup ready for production envs.

Contributing

I love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send a pull request.

TODO List

[✔] set up Jalali Calender for Project
[✔] Look up for Blog and Landing Page Template and Add To Project
[✔] change Admin page Front End
[✔] Dockerize Project
[ ] Add item 'Add Contact' to Contact 
[ ] mail verifacation
[ ] sms verifecation
[ ] Project page show All project


[✔] Add Landing Page Models
[✔] Add Resume Page Models

[ ] Set Up Resume Page Html With View
[✔] Set up New Landing Page 
[✔] Set up project detail Page 
[ ] set Up menu links in html pages

[✔] Add Model Managers to Blog
[✔] Add Model Managers to Land(prject)
[ ] Add Model Menu Links in header to Land

[✔] add a project as a new application
[✔] add a Landing as a new application
[✔] add a Dashboard as a new application
[✔] add a blog as a new application
[ ] add Contact as new application in dashboard
[✔] add karfarmaonline as a new application in dashboard
[ ] add Elevator app as new application in dashboard