First create a Ubuntu 13.04 x64 droplet on DigitalOcean Control Panel
Then ssh with root account, run this in termianl:
$ wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| canvas { | |
| position: absolute; | |
| } | |
| </style> |
| sudo mkdir /var/pgsql_socket | |
| chown $USER:staff /var/pgsql_socket | |
| ln -s /tmp/.s.PGSQL.5432 /var/pgsql_socket/.s.PGSQL.5432 |
| ==== products_controller_spec.rb ===== | |
| describe ProductsController, "Handling POST for create" do | |
| def sign_in_user | |
| user = FactoryGirl.create(:user) | |
| sign_in user, @user | |
| end | |
| def do_post | |
| post :create, :product => @params |
| # install git | |
| sudo apt-get install g++ curl libssl-dev apache2-utils | |
| sudo apt-get install git-core | |
| mkdir ~/src | |
| cd ~/src | |
| # uncomment to disable SSL CA verification for the git clone step(s) | |
| # export GIT_SSL_NO_VERIFY=1 |