mnorkin / miniature-nemesis

Target Price Project
anavest.com
0 stars 0 forks source link

Deployment #5

Closed mnorkin closed 11 years ago

mnorkin commented 11 years ago

Automatic deployment

Serveris

Babushka pasirinkimas

Apps

Yra toks projektas, python-dad (Django Automated Deployment), kuris sujugia fabric'ą, virtualenv (kartu surašo ir visus dependences).

mnorkin commented 11 years ago

python-dad is a crap. Switched to original fabric with virtualenv.

saulius commented 11 years ago

:+1:

mnorkin commented 11 years ago

Fabric works, need only to make a fix, if the directory exists -- delete it and create again on setup activity.

Also, make a babushka implementation on automatic server configuration: create user, nginx and other important things. Babushka is postponed due to more important jobs ahead and tests of model.

mnorkin commented 11 years ago

Found this guy: https://github.com/sebastien/cuisine

Looks very good in terms of less-typing with python.

mnorkin commented 11 years ago

So, implemented one fabric file for every need in life:

There is two hosts -- private and public. Public is where the website and crawler is stored. Private is where all the calculations are stored. In the near future, the public and private server will be joined.

The deployment is fully functional from fabric -- no need of chef or babushka is needed. For example

fab public full_setup

Makes all the required preparations on public server side -- user/packages/python. Everything was tested, the private server setup was fully performed by the fabric.