Giter Site home page Giter Site logo

linicam / basil Goto Github PK

View Code? Open in Web Editor NEW

This project forked from catalyst/basil

0.0 2.0 0.0 1.67 MB

Best-practice python projects made easy

Python 75.70% Ruby 7.64% Pascal 0.02% HTML 0.05% Puppet 2.39% PHP 0.08% JavaScript 11.56% CSS 1.75% Smarty 0.80%

basil's Introduction

Basil

Basil makes it easy to set up best-practice, project development environments.

Installation

Currently, Vagrant has only been tested on Ubuntu, but most of the functionality should work on any operating system that can run Vagrant.

Installation Steps

  • Install Vagrant (minimum version: 1.5)
  • sudo apt-get install vagrant
  • Install VirtualBox
  • sudo apt-get install virtualbox
  • Install Python 3.4
  • sudo apt-get install python3.4
  • Install Tkinter for Python 3.4
  • sudo apt-get install python3.4-tk
  • Download Basil
  • Or clone with git: git clone https://github.com/catalyst/basil.git
  • Run Basil's web.py with Python 3.4
  • python3.4 web.py
  • Open Basil in your web browser at http://localhost:8000
  • If port 8000 is already in use on your computer, Basil will tell you which port it is running on.

Template Naming

Templates have folder names and displayed names. The following are conventions only. They should be followed unless there is a good reason, but practicality beats purity.

Template Folder Names

A general pattern is framework name, then versions, then variants - all lower case and joined with underscores. Dots and hyphens are OK. Some examples:

  • drupal_7
  • drupal_7_catalyst # Drupal 7 with the configuration preferred by Catalyst
  • flask_0.10.1_py2.7 # both framework version and python version (general detail only)
  • django_1.7_py3.4

But it is OK to use another label if it makes sense e.g.

  • lamp_basic

Template Display Names

As for template folder names but underscores can be replaced with spaces and variable case is OK. There is no need to separate sections and no need to use v for version - brevity makes it easier to choose templates from the Basil dropdown. Some examples:

  • Drupal 7.x
  • Drupal 7 Catalyst
  • Flask 0.10.1 Python 2.7
  • Django 1.7 Python 3.4
  • LAMP Stack (Basic)

basil's People

Contributors

grantps avatar ben-denham avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.