This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Glass is a website management platform made by Kelly Creative Tech.

Current Build Status:

This package is both the python API and the CLI

Setting up a new site

This package is the Command Line Interface for working with the Glass Web Management Platform. Once installed, you can run the glass watch command in your local project folder to upload files to the Glass system automatically on save. You can also run glass get_all to pull the current live files from the server, or glass put_all to upload (and override) the server copy with your local copy. (Put_all is a blunt instrument, so be careful.)

These instructions assume basic knowledge of the Terminal, and VirtualEnv Wrapper needs to be installed on your machine. If these things don’t sound familiar to you, start with the instructions at the bottom, and then come back here.

  1. Make your virtualenvironment. We’re using virtualenvwrapper.
$> mkvirtualenv glass-sites -p python3
$> workon glass-sites
  1. Clone this repository.
$> workon glass-sites
$> cd ~/some/code/place
$> git clone git@github.com:kellycreativetech/glass-cli.git
$> cd glass-cli
$> pip install -r requirements.txt
$> pip install -e .

Go into, or make a directory for a new site

 $> cd ~/Projects/kct_clients/
 $> mkdir issackelly.com
 $> cd issackelly.com
 $> glass configure
 (glass-sites)issackelly.com:glass configure
 Could not find a .glass config folder. Would you like to make one now? [y/N]: y
 What email did you use to sign up for glass?: issac@servee.com
 What is your password for glass?: [redacted]
 ---
 Finding sites for you
    1. Issac Kelly
    2. ~~~~~~
    3. Kelly Creative Tech
    4. ~!~~~~~
    5. !~~~~
Which which site would you like to configure in this directory?: 1
Writing config file to .glass/config

First, pull down all of the project files from the server. This will override anything that you have not yet uploaded, so you probably don’t want to use this command more than once when you start the project.

$> glass get_all

You may also want a glass ignore file. This works just like a .gitignore file.

.git and .glass and func.* are ignored by default.

$> nano .glass/ignore
# This is just like a .gitignore or .git/info/exclude file
src/junk*.css
local_only_dir
*.py

Make some changes to the project files on your machine, and then deploy! This will publish your changes to the site.

$> glass put_all

Alternatively, you can deploy to the site as you are making changes. As soon as you save a file, it will be uploaded while this command is running.

$> glass watch

###Start with the basics

If this isn’t your first experience with the Terminal and you already have [VituralEnv Wrapper](https://virtualenvwrapper.readthedocs.io/en/latest/install.html) installed, proceed to Step 1 below. If not, and you’re on a mac, follow these steps. Open the Terminal. (It’s in Applications/Utilities. [Here’s a quick introduction to the Terminal.](http://blog.teamtreehouse.com/introduction-to-the-mac-os-x-command-line)) paste these lines, one at a time, hitting enter between each. (This applies to the rest of the instructions below.)

Install easy_install:

$> curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python

Install pip:

$> sudo easy_install pip

Install VirtualEnv Wrapper:

$> pip install virtualenvwrapper

Now that VirtualEnv Wrapper is installed, you’re ready to install the Glass CLI tools. [So go back to the top!](#glass-cli)

History

  • 2016-06-05 First Public Release 0.9
Release History

Release History

0.9.2a6

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.2a5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.2a4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.2a3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.2a1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
glass-api-0.9.2a6.macosx-10.11-x86_64.tar.gz (14.8 kB) Copy SHA256 Checksum SHA256 Source Aug 3, 2016
glass_api-0.9.2a6-py2.py3-none-any.whl (11.5 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Aug 3, 2016
glass-api-0.9.2a6.tar.gz (8.1 kB) Copy SHA256 Checksum SHA256 Source Aug 3, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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