Skip to content

Instantly share code, notes, and snippets.

@ficosta
Last active August 29, 2015 14:04
Show Gist options
  • Save ficosta/06e2a799c1745cc9df39 to your computer and use it in GitHub Desktop.
Save ficosta/06e2a799c1745cc9df39 to your computer and use it in GitHub Desktop.
apt-get update
apt-get install vim
apt-get install htop
wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
chmod +x setup-web2py-ubuntu.sh
./setup-web2py-ubuntu.sh
apt-get install mysql-server
apt-get install phpmyadmin
Criar a base de dados
COPIAR 140.zip
unzip 140...
mv 140dev /var/www/twitter/
cd /var/www/twitter/db
mysql -p -u root twitter < twitter.sql
Aplicar as chaves de acesso
Configurar get_twitter
Configurar 140_db
Configurar o script de inicializacao
subir a aplicação web2py moderar
moderar
/cockpit/social/mensagens
view json
/cockpit/social/tv_digital.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment