-
Notifications
You must be signed in to change notification settings - Fork 0
Agregador de cinemas & VOD
BantouTV/r3play
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
####################################### instrucoes: - Controle do NGINX: $ /etc/init.d/nginx restart $ /etc/init.d/nginx start $ /etc/init.d/nginx stop - Verificar se o python está executando via fastcgi: $ ps -ef | grep python obs.: matar o processo: $ kill 1234 - Copiar arquivos via SCP: $ scp -ri r3play.pem r3play/r3playapp/admin.py ec2-user@177.71.186.15:/home/ec2-user/r3play/r3playapp obs.: scp -ri autenticacao quem-esta-sendo-copiado para-onde-se-esta-copiando - Conectar na instancia da amazon ec2 $ ssh -i r3play.pem ec2-user@177.71.186.15 obs.: se tornar usuário root: sudo su - Iniciar o django com o fastcgi e as configuações de produção: $ python manage.py runfcgi host=ec2-177-71-186-15.sa-east-1.compute.amazonaws.com port=8080 --settings=settings ######################### path local para os arquivos css do django cd /Library/Python/2.7/site-packages/django/contrib/admin/media/css/ ######################### - exportar os dados do banco de dados e carregar novamente 1 - Export your data to a fixture using the dumpdata management command 2 - Drop the table 3 - Run syncdb 4 - Reload your data from the fixture using the loaddata management command ############################################ mysql ############################################ To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/local/Cellar/mysql/5.5.15/bin/mysqladmin -u root password 'new-password' /usr/local/Cellar/mysql/5.5.15/bin/mysqladmin -u root -h MacBook-Air-de-Leandro-Costa.local password 'new-password' Alternatively you can run: /usr/local/Cellar/mysql/5.5.15/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr/local/Cellar/mysql/5.5.15 ; /usr/local/Cellar/mysql/5.5.15/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr/local/Cellar/mysql/5.5.15/mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/local/Cellar/mysql/5.5.15/scripts/mysqlbug script!
About
Agregador de cinemas & VOD
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published