Shineyrock web design & consultancy

Shineyrock

Searched for: "test" / 634 results

Using Let’s Encrypt SSL With Your WordPress Project

…test/analyze.html?d=fever.lookahead.ioHere's the authentication page:Certificate Auto-Renewal Auto-renewal is pretty simple too. First, we grab the renew script and give it execution privileges:sudo curl -L -o /usr/local/sbin/le-renew http://do.co/le-renew sudo chmod +x /usr/local/sbin/le-renewThen run the script for each domain:sudo le-renew lookahead.io Checking expiration date for fever.lookahead.io... The certificate is up to date, no…


Building RESTful APIs With Flask: The DIY Approach

…tested directly by making HTTP calls using various other methods. Open my_app/__int__.py and add the following code. # flask_app/my_app/__init__.py from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///mydb.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False db = SQLAlchemy(app) db.create_all() We first initialize a Flask app instance in the code…


Using Subversion to Check Out WordPress

…test version of the WordPress source code each day, and how we can use it on our own system.What Are Nightly Builds?Before we jump into how to grab the latest version of the source code each day, it's important to understand the definition of "nightly builds". The phrase is not…


Integrate UberGallery With OpenCart: Part One

…test version of OpenCart, so make sure you have it so that you can follow the code samples.File Setup—in a NutshellLet’s quickly go through the file setup required for the back-end. admin/controller/module/uber_gallery.php: It's a controller file that provides the application logic of the usual controller in OpenCart. admin/language/english/module/uber_gallery.php: It's a…


Building RESTful APIs With Flask: An ORM With SQLAlchemy

…test this application by creating some products and listing them. The endpoint created by this extension by default is http://localhost:5000/api/product. As I did in the last part of this tutorial series, I will test this using the requests library via terminal. >>> import requests >>> import json >>> res =…


Templating With Jinja2 in Flask: Essentials

…Jinja2 is a template engine written in pure Python. It provides a Django-inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. It is small but fast, apart from being an easy-to-use standalone template engine. Flask is a Python-based micro web framework which allows you to write your…


Integrate UberGallery With OpenCart: Part Two

…test our gallery. Upload a couple of images to the image/uberGallery directory as it’s the path we provided as an argument when we called the createGallery method in our template file.Assign the uberGallery Module to the Home Page LayoutHead over to the back-end and navigate to System > Design >…


Using the Mailgun Store(): A Temporary Mailbox for Your App’s Incoming Email

…testing of webhook endpoints Text-part generation from HTML-only emails Matching on all email headers (e.g. subject, from:, cc:) and recipients Ability to chain together multiple filters to provide sophisticated expressions Once I was ready to integrate inbound routing for meeting scheduling, I decided to use Mailgun's store() API. While Mailgun…


Building RESTful APIs With Flask: ORM Independent

…Testing the Application This application can be tested exactly as we did in the second part of this tutorial series. I have kept the routing URL the same for the same purpose. Conclusion In this last part of this three-part tutorial series on developing RESTful APIs with Flask, we saw…


Using PHP CodeSniffer With WordPress: Installing and Using the WordPress Rules

…tesThis should be a very short list. If you've followed along with the series up to this point, you need to have: a version of PHP (preferably 5.6.10 or later) PHP CodeSniffer Composer All of this is covered in detail throughout the previous articles in the series, but if you've…


Refine Search

Save This Search?

Saved Searches

You have not saved any searches yet.