All Projects โ†’ AliYmn โ†’ djeasy

AliYmn / djeasy

Licence: MIT license
Django Project Deploy Easier to in Debian Distribution!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to djeasy

useful-playbooks
๐Ÿšš Useful Ansible playbooks for easily deploy your website or webapp to absolutely fresh remote virtual server and automation many processes. Only 3 minutes from the playbook run to complete setup server and start it.
Stars: โœญ 52 (+116.67%)
Mutual labels:  deploy
ProgramUpdater
PUF - Program Updater Framework. A library to easier the task of program updating
Stars: โœญ 14 (-41.67%)
Mutual labels:  installer
doks-example
Example DigitalOcean Kubernetes workload with service exposed through a DO load-balancer.
Stars: โœญ 150 (+525%)
Mutual labels:  digitalocean
phpci-installer
PHPCI Easy Installer for Laravel Homestead
Stars: โœญ 19 (-20.83%)
Mutual labels:  installer
server
๐Ÿ‘จ๐Ÿพโ€๐Ÿณ Server for Ferdi that you can re-use to run your own
Stars: โœญ 26 (+8.33%)
Mutual labels:  digitalocean
hacktoberfest 2021
Solve the given questions, and submit a PR.๐Ÿ’ฌ Make sure you submit the solution in the correct folder. โœ”
Stars: โœญ 44 (+83.33%)
Mutual labels:  digitalocean
vtex-cms-sauce
VTEX package for handling CMS requests.
Stars: โœญ 25 (+4.17%)
Mutual labels:  deploy
CODE-CAMP-2020
A Virtual Hackathon Camp for Developers, Build real products and win Swags in comfort of your home.
Stars: โœญ 30 (+25%)
Mutual labels:  digitalocean
Snippet-Share
This is a snippet sharing app that can be used to share snippets of code and more.
Stars: โœญ 41 (+70.83%)
Mutual labels:  django-project
Hacktoberfest-2021
Create Hacktoberfest PRs. Star this Repo!โญ
Stars: โœญ 32 (+33.33%)
Mutual labels:  digitalocean
Installer
The Antvel e-commerce installer.
Stars: โœญ 12 (-50%)
Mutual labels:  installer
installer
remote.it command line installer tool
Stars: โœญ 21 (-12.5%)
Mutual labels:  installer
e-voting-with-django
The Voting System web application using Django is a project that serves as the automated voting system of an organization or school. This system works like the common manual system of election voting system whereas this system must be populated by the list of the positions, candidates, and voters. This system can help a certain organization or sโ€ฆ
Stars: โœญ 54 (+125%)
Mutual labels:  django-project
ModLoaderInstaller
JavaFX application that installs a mod loader for the game The Long Dark
Stars: โœญ 52 (+116.67%)
Mutual labels:  installer
devops-guidebook
๐Ÿ“š DevOps ็Ÿฅ่ฏ†ๅ›พ่ฐฑ ๅ…ณไบŽLinuxใ€ๆœๅŠกๅ™จใ€ๆ•ฐๆฎๅบ“ใ€้ƒจ็ฝฒ็ญ‰็›ธๅ…ณไฝ“็ณป
Stars: โœญ 25 (+4.17%)
Mutual labels:  deploy
gitpack
Git-based package manager written in POSIX shell
Stars: โœญ 72 (+200%)
Mutual labels:  installer
hacktoberfest
Fork and Create a Pull Request
Stars: โœญ 13 (-45.83%)
Mutual labels:  digitalocean
digitalocean exporter
Prometheus exporter for DigitalOcean metrics, written in Go.
Stars: โœญ 100 (+316.67%)
Mutual labels:  digitalocean
competetive-code-hacktoberfest
For Hacktoberfest Contribution
Stars: โœญ 14 (-41.67%)
Mutual labels:  digitalocean
nginx-installer
Bash script designed to ease the process of compiling nginx with multiple patches and modules manually.
Stars: โœญ 28 (+16.67%)
Mutual labels:  installer

Compatibility

  • Django 1.8+
  • Python 3.x +
  • Python 2.x +
  • Support OS : Ubuntu (Debian Derivatives)
  • Centos (not yet)

You should check this package.

Installations

sudo apt-get install python-pip
sudo apt-get install python3-pip
sudo apt-get install virtualenv

Package

pip install djeasy 
#or
pip3 install djeasy

Configuration

This is important this project. Because your project doesn't match this directory doesn't work.

  • You must add requirements.txt

# Example Project ;

DjangoBlog 
โ”œโ”€โ”€ DjangoBlog
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ settings.py
โ”‚   โ””โ”€โ”€ urls.py
โ”‚   โ””โ”€โ”€ wsgi.py
โ”œโ”€โ”€ Blog
โ”‚    โ”œโ”€โ”€ __init__.py
โ”‚    โ””โ”€โ”€ admin.py
โ”‚    โ””โ”€โ”€ apps.py
โ”‚    โ””โ”€โ”€ tests.py
โ”‚    โ””โ”€โ”€ views.py
requirements.txt ---> Add!!

Example requirements.txt : https://goo.gl/0Y9yCB

  • Do not forget to add the requirements.txt file.

  • Django Settings.py ALLOWED_HOSTS = [] server ip or domain add.

DjEasy

djeasy

Output :

--create                      Create a new site.
--nginx                       Nginx restart

Site Publishing Steps

  • You must create virtualenv for your project and this package.
  • NOT : You should know virtualenv name to use djeasy.

You can follow this;

cd /home/ # as you wish. My recommended in your /home/ directory.

virtualenv -p python3 DjangoEnv # example name : DjangoEnv
  • Upload or clone your project in server directory like /home/

Example :

cd /home/
git clone https://github.com/AliYmn/aliyaman.org
mv aliyaman.org DjangoBlog # to change name
  • Let's run the package.

We'll finish the process in four steps.

djeasy --create

  • You can give any name you want for nginx and gunicorn name. But you should don't keep in mind names, because you'll use this for restart nginx and gunicorn.

NOT : You can write multiple site. For example, example1.com example2.com

Example;

server ip or domain = 192.241.163.191 example.com blog.example.com

  • Restart the server

Commands used ;

--nginx                        Nginx restart
gunicorn_name --gunicorn       Gunicorn restart

Example;

djeasy --nginx
djeasy DjangoBlog --gunicorn

Output;

Process completed successfully.

NOT : The Json file is saved in the home directory, please do not delete it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].