Creating a New Local Development Site

From Littledamien Wiki
Revision as of 20:54, 27 June 2013 by Video8 (talk | contribs)
Jump to navigation Jump to search

Local filesystem

  • Create directory on 'littledamienii'
  • /develop/[SITE_GROUP]/[WEB_ROOT]

Create Git repo

$ git init
  • Copy .gitignore file from existing site and edit it to suit the new site.

Create subdomain

IIS

  • Log in to local Windows server.
  • Open IIS MMC.
  • Local server > Sites > right click: Add web site
    • Site name: [PLAIN_ENGLISH_NAME]
    • Physical path: (navigate to the new web root directory)
    • Connect as: (authorized account)
    • Host name: [SUBDOMAIN].dbarchowsky.com

Domain registrar (Namecheap)

  • No action required here (unlike with GoDaddy).

NetBeans

  • File > New Project
  • PHP Application
  • Project Name: [SITE_NAME]
  • Sources Folder: (navigate to site root (using LAN network name of server))
  • Project URL: http://[SUBDOMAIN].dbarchowsky.com/

Hosting site as subdomain of littledamien.com

  • TK