Skip to content

Instantly share code, notes, and snippets.

@GKephart
Last active June 8, 2020 22:37
Show Gist options
  • Save GKephart/91ee20de39ed23070ddfcfe100106ea5 to your computer and use it in GitHub Desktop.
Save GKephart/91ee20de39ed23070ddfcfe100106ea5 to your computer and use it in GitHub Desktop.
Deep Dive Project Creation Checklist

Deep Dive Project Creation Checklist

Create New Repository on Github

  • go to github.com
  • click the plus sign on the navbar
  • select new repository from the dropdown
  • fill in repository name (project-name) and description fields
  • select public
  • select initialize with readme
  • select Apache license 2.0
  • click create new file
  • name file .gitignore
  • add file content
.DS_Store
/.idea
  • commit the new file
  • click green button (clone or download)
  • copy the SSH address

Clone The Project In PHPStorm

  • open phpstorm
  • In the welcome to PHPStorm screen click check out from version control
  • select git (not Github)
  • paste ssh address from Github
  • click the clone button then click yes to checkout from version control

Create A Deployment

  • ssh into the server*
  • (ubuntu and mac) open Bash (terminal)
  • (windows) open putty
    • select bootcamp-coders and click open

On Command Line

  • type cd public_html hit enter
  • type mkdir project-name hit enter
  • type exit hit enter

In Phpstorm Open Settings/Preferences

  • go to Build, Execution, Deployment -> Deployment
  • click +
  • name = project-name
  • type = sftp
  • click ok
  • host = bootcamp-coders.cnm.edu
  • path = /home/username/public_html/project-name
  • username = (your cnm username)
  • authtype = OpenSSh config and authentication agent
  • web server root URL = https://bootcamp-coders.cnm.edu/~username/project-name/
  • click test connection button

Go to the Mappings Tab

  • type / in deployment path on server
  • click use this server as default button
  • click apply then OK

The Project is Now Setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment