Skip to content

base for a full phing install of cms, api and front end

Notifications You must be signed in to change notification settings

bajanxxx/twilio-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slender Deploy App

Deploys a full application on a single vagrant or real machine

Vagrant

  • $ vagrant up
  • $ vagrant ssh
  • $ sudo ssh-keygen -t rsa -C "[email protected]"
  • $ cat /root/.ssh/id_rsa.pub (and add it to you ssh keys on github)
  • $ cd /var/www/
  • $ sudo phing
  • ON MAC: currently you will need to chmod -R 777 app/storage/sessions from the host for cms and www each time a session expires or you will see a permission denied error
  • ON MAC: currently you will need to rm -rf app/storage/views/* from the host for cms and www when you modify a view file or you will see a permission denied error

Real Machine

Set up server

Currently there are more steps than I would like do to the file structure

  • ssh into the machine
  • $ sudo ssh-keygen -t rsa -C "[email protected]" (do not use a passphrase)
  • $ sudo cat /root/.ssh/id_rsa.pub (and add it to you ssh keys on github)
  • $ cd /var
  • $ rm -rf www
  • $ sudo git clone https://github.com/dwsla/slender-app.git
  • $ sudo mv slender-app/* .
  • $ sudo rm -rf slender-app/ Vagrantfile recipes/ .gitignore .vagrant
  • $ cd www
  • $ sudo phing

NOTE: you may see an error message complaining some directories don't exists, but the will be created

Example properties

What's the environment of this machine?: local

What's the basename of the site (e.g. example.com): twilio.dws.la

What's the base uri on the api? (e.g. mysite maps => http::/api.url.com/mysite): twilio

What's endpoint does frontend users use to authenticate?: members

What's the github uri for the API? [email protected]: startupdevs/twilio-api.git

What's the github uri for the CMS? [email protected]: startupdevs/twilio-cms.git

What's the github uri for the Front End? [email protected]: startupdevs/twilio-www.git

About

base for a full phing install of cms, api and front end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published