Giter VIP home page Giter VIP logo

nanobox-craftcms's Introduction

Readme

ToDo

  • Sass tooling
  • Js tooling
  • Post-HTML & Post-CSS
  • Image minification
  • Init scripts to tie in prompt to configation file ... .env maybe?
  • Write deploy scripts
  • Add url to dns on start from prompt

Overview

A baseline project for CraftCMS for local, staging, and production environments using Nanobox.io

Getting Started

This workflow depends on:

Prep the Servers

  1. Prepare the servers for the project by logging in to nanobox.io and spinning 2 new projects: project-name and project-name-staging. Back both of these with a 5 dollar Digital Ocean droplet unless something heavier is called for.
  2. Note the application details for the next step.

Prep the Project

  1. Clone this repo into a directory for the new project.
  2. $ git remote remove origin
  3. $ git remote add origin <new-upstream>
  4. Run the init script; $ npm run init
  5. Walk through the CLI to configure the project.
  6. Commit and push the changes. You're ready to go!

Development

  1. Clone the repo and cd into the project directory.
  2. $ npm install
  3. $ npm start

Staging Deployment

Note: this process will be replaced with a git-based Continuous Integration / Delivery system that deploys code automatically from the upstream branch.

  1. $ npm run deploy:staging

Production Deployment

  1. $ npm run deploy:production

nanobox-craftcms's People

Stargazers

Roman avatar

Watchers

James Cloos 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.