Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Universal website deploy script.

Project Description

Deployment made simple. Use FSGDeploy to deploy from Linux, Mac, or Windows to Linux or Windows. FSGDeploy supports MSSQL, IIS, PHP, Google Closure CSS and JS optimization, CSS/JS auto-versioning and a host of other common deployment activities. In your selected deployment directory, use the following structure:

sites\site_name\env_name.ini
Python27\Lib\site-packages\FSGDeploy_util\compiler.jar
Python27\Lib\site-packages\FSGDeploy_util\stylesheets.jar

Optional (for scripts or scheduled tasks):

sites\site_name\db\script.sql
sites\site_name\scheduled_tasks\task.ini

For example execution, run “deploy” in terminal/cmd from within your deployment directory.

If only one site exists, env ini files may be located in the root level and site flag should not be used.

Utilities

Example ini

staging.ini:

[actions]
deploy_server
migrate_config
apply_database_migrations
reset_iis
register_scheduled_tasks
verify
optimize
tweet
# actions may be commented out

[server]
host = mysite.com
user = deploy
# os options: Windows, Centos
os = Windows
# remove exclude line if no files should be excluded
exclude = exampleWildcardFile

[database]
host = db.mysite.com
user = dbUser
password = dbPass
database = my_db

[path]
deploy_to = c:\inetpub\wwwroot
backup_to = c:\bak

[scm]
repo = ssh://hg@bitbucket.org/my/repo
branch = default
build_profile = Release
auto_version = css,js,htm,html,jpg,jpeg,gif,png
#solution_filename used for building C# site
solution_filename = MySite.sln
site_directory = MySite
optimize_directory = js #optional param to specify directory relative to site_directory for Javascript optimization

[twitter]
username = twitterbot
consumer_key = dsf98r298urjkfd
consumer_secret = HKJLRP8ASf89pfhas789789Rjklf907uosiar
access_token = LJKjlkO8FRO8A3WO845O8729378598723589ADKLAJljkfjlkl
access_token_secret = Kckj89U3098UkfjlKC089AUW034ORJkcjlKF098u3jk

[jira]
username = jiraUser
password = jiraPass
server = https://jiraSite.atlassian.net
Release History

Release History

This version
History Node

0.2.26

History Node

0.2.25

History Node

0.2.24

History Node

0.2.23

History Node

0.2.22

History Node

0.2.21

History Node

0.2.20

History Node

0.2.19

History Node

0.2.18

History Node

0.2.17

History Node

0.2.16

History Node

0.2.15

History Node

0.2.14

History Node

0.2.13

History Node

0.2.12

History Node

0.2.11

History Node

0.2.10

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
FSGDeploy-0.2.26.zip (11.7 kB) Copy SHA256 Checksum SHA256 Source Jul 13, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting