Skip to content

Commit

Permalink
Microbox names and namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
danhunsaker committed Apr 14, 2023
1 parent 8005099 commit 98327bc
Show file tree
Hide file tree
Showing 32 changed files with 145 additions and 124 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2015-2019 Nanobox, 2019-present The Microbox Team

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# Nanobox Bootstrap Landing Page Generator
# Microbox Bootstrap Landing Page Generator

This project is used to generate static HTML pages and accompanying assets for Nanobox quickstarts/bootstraps. It's built using [Middleman](https://middlemanapp.com/) and is designed to run using [Nanobox](https://nanobox.io). If you haven't already, [create a free Nanobox account](https://dashboard.nanobox.io/users/register) and [download and install Nanobox](https://dashboard.nanobox.io/download).
This project is used to generate static HTML pages and accompanying assets for Microbox quickstarts/bootstraps. It's built using [Middleman](https://middlemanapp.com/) and is designed to run using [Microbox](https://microbox.cloud). If you haven't already, [create a free Microbox account](https://dashboard.microbox.cloud/users/register) and [download and install Microbox](https://dashboard.microbox.cloud/download).

## Start the Project
From the root of the the project, run:

```bash
# add a convenient way to access the app in a browser
nanobox dns add local bootstrap-landing.dev
microbox dns add local bootstrap-landing.dev

# start Nanobox and drop into a console
nanobox run
# start Microbox and drop into a console
microbox run

# start the middleman server
middleman
```

## Generating the Static Files
To generate all the static files, from inside the Nanobox console, run:
To generate all the static files, from inside the Microbox console, run:

```bash
middlman build
Expand Down
10 changes: 5 additions & 5 deletions source/elixir/phoenix/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
project: Phoenix
language: Elixir
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-phoenix
quickstart_repo: https://github.com/mu-box/quickstart-phoenix
more_info:
links:
- text: Nanobox Phoenix Guides
href: https://guides.nanobox.io/elixir/phoenix
- text: Nanobox Postgres Guides
href: https://guides.nanobox.io/postgresql
- text: Microbox Phoenix Guides
href: https://guides.microbox.cloud/elixir/phoenix
- text: Microbox Postgres Guides
href: https://guides.microbox.cloud/postgresql
- text: Phoenix Documentation
href: https://hexdocs.pm/phoenix/Phoenix.html
---
6 changes: 3 additions & 3 deletions source/go/beego/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Beego
language: Go
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-beego
quickstart_repo: https://github.com/mu-box/quickstart-beego
more_info:
links:
- text: Nanobox Beego Guides
href: https://guides.nanobox.io/golang/beego
- text: Microbox Beego Guides
href: https://guides.microbox.cloud/golang/beego
- text: Beego Documentation
href: https://beego.me/docs/intro/
---
6 changes: 3 additions & 3 deletions source/go/echo/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Echo
language: Go
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-echo
quickstart_repo: https://github.com/mu-box/quickstart-echo
more_info:
links:
- text: Nanobox Echo Guides
href: https://guides.nanobox.io/golang/echo
- text: Microbox Echo Guides
href: https://guides.microbox.cloud/golang/echo
- text: Echo Documentation
href: https://echo.labstack.com/guide
---
6 changes: 3 additions & 3 deletions source/go/gin/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Gin
language: Go
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-gin
quickstart_repo: https://github.com/mu-box/quickstart-gin
more_info:
links:
- text: Nanobox Gin Guides
href: https://guides.nanobox.io/golang/revel
- text: Microbox Gin Guides
href: https://guides.microbox.cloud/golang/gin
- text: Gin API Documentation
href: http://godoc.org/github.com/gin-gonic/gin
---
6 changes: 3 additions & 3 deletions source/go/hugo/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Hugo
language: Go
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-hugo
quickstart_repo: https://github.com/mu-box/quickstart-hugo
more_info:
links:
- text: Nanobox Hugo Guides
href: https://guides.nanobox.io/golang/hugo
- text: Microbox Hugo Guides
href: https://guides.microbox.cloud/golang/hugo
- text: Hugo Documentation
href: https://gohugo.io/documentation/
---
6 changes: 3 additions & 3 deletions source/go/revel/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Revel
language: Go
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-revel
quickstart_repo: https://github.com/mu-box/quickstart-revel
more_info:
links:
- text: Nanobox Revel Guides
href: https://guides.nanobox.io/golang/revel
- text: Microbox Revel Guides
href: https://guides.microbox.cloud/golang/revel
- text: Revel Documentation
href: https://revel.github.io/manual/
---
2 changes: 1 addition & 1 deletion source/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Nanobox Bootstrap Landing Pages
title: Microbox Bootstrap Landing Pages
layout: home
---

Expand Down
6 changes: 3 additions & 3 deletions source/js/angular/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Angular
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-angular
quickstart_repo: https://github.com/mu-box/quickstart-angular
more_info:
links:
- text: Nanobox Angular Guides
href: https://guides.nanobox.io/javascript/angular
- text: Microbox Angular Guides
href: https://guides.microbox.cloud/javascript/angular
- text: Angular Documentation
href: https://angular.io/docs
---
6 changes: 3 additions & 3 deletions source/js/ember/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Ember
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-ember
quickstart_repo: https://github.com/mu-box/quickstart-ember
more_info:
links:
- text: Nanobox Ember Guides
href: https://guides.nanobox.io/javascript/ember
- text: Microbox Ember Guides
href: https://guides.microbox.cloud/javascript/ember
- text: Ember Documentation
href: https://guides.emberjs.com/v2.14.0/
---
6 changes: 3 additions & 3 deletions source/js/react/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: React
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-react
quickstart_repo: https://github.com/mu-box/quickstart-react
more_info:
links:
- text: Nanobox React Guides
href: https://guides.nanobox.io/javascript/react
- text: Microbox React Guides
href: https://guides.microbox.cloud/javascript/react
- text: React Documentation
href: https://facebook.github.io/react/docs/hello-world.html
---
6 changes: 3 additions & 3 deletions source/js/vue/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Vue
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-vue
quickstart_repo: https://github.com/mu-box/quickstart-vue
more_info:
links:
- text: Nanobox Vue Guides
href: https://guides.nanobox.io/javascript/vue
- text: Microbox Vue Guides
href: https://guides.microbox.cloud/javascript/vue
- text: Vue Documentation
href: https://vuejs.org/guide/
---
2 changes: 1 addition & 1 deletion source/layouts/home.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
%meta{:content => "ie=edge", "http-equiv" => "x-ua-compatible"}/
%meta{:content => "width=device-width, initial-scale=1, shrink-to-fit=no", :name => "viewport"}/
/ Use the title from a page's frontmatter if it has one
%title= current_page.data.title || "Nanobox Bootstrap"
%title= current_page.data.title || "Microbox Bootstrap"
%body
= yield
14 changes: 7 additions & 7 deletions source/layouts/layout.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%meta{:charset => "utf-8"}
%meta{:content => "ie=edge", "http-equiv" => "x-ua-compatible"}
%meta{:content => "width=device-width, initial-scale=1, shrink-to-fit=no", :name => "viewport"}
%title= current_page.data.project+' Running with Nanobox' || "Nanobox Bootstrap"
%title= current_page.data.project+' Running with Microbox' || "Microbox Bootstrap"

/ Stylesheet & favicon - START

Expand All @@ -25,24 +25,24 @@
=partial "shared-svg/burst"

.content
%h2 Woohoo! You’re running #{current_page.data.project} with Nanobox!
%p Nanobox has bootstrapped #{ ('an' if ["A", "E", "I", "O", "U"].include? current_page.data.project[0]) || 'a'} #{current_page.data.project} project for you inside a fully containerized #{current_page.data.language} environment. Deploy all the things!
%h2 Woohoo! You’re running #{current_page.data.project} with Microbox!
%p Microbox has bootstrapped #{ ('an' if ["A", "E", "I", "O", "U"].include? current_page.data.project[0]) || 'a'} #{current_page.data.project} project for you inside a fully containerized #{current_page.data.language} environment. Deploy all the things!
.links
.list
%h4 More Info
%ul
-current_page.data.more_info.links.each do |link|
%li #{link_to link.text, link.href, target: '_blank'}
%li #{link_to 'Nanobox Docs', 'https://docs.nanobox.io', target: '_blank'}
%li #{link_to 'Microbox Docs', 'https://docs.microbox.cloud', target: '_blank'}
.list
%h4 Get In Touch
%ul
%li #{link_to 'Nanobox Slack', 'https://nanoboxio.slack.com', target: '_blank'}
%li #{link_to 'Email Us', 'mailto:hello@nanobox.io'}
%li #{link_to 'Microbox Discord', 'https://discord.gg/MCDdHfy', target: '_blank'}
%li #{link_to 'Email Us', 'mailto:hello@microbox.cloud'}
%p.qs-repo View the #{link_to current_page.data.project+' Quickstart', current_page.data.quickstart_repo+'#readme', target: '_blank'} project for information about what was involved in the bootstrapping process. You can also download the generated source code from the #{link_to current_page.data.project+' Quickstart releases', current_page.data.quickstart_repo+'/releases', target: '_blank'} page.
.footer
%p
Bootstrapped with
%span.heart
=partial "shared-svg/heart"
by #{link_to 'Nanobox', 'https://nanobox.io', target: '_blank'}
by #{link_to 'Microbox', 'https://microbox.cloud', target: '_blank'}
6 changes: 3 additions & 3 deletions source/nodejs/adonis/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Adonis
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-adonis
quickstart_repo: https://github.com/mu-box/quickstart-adonis
more_info:
links:
- text: Nanobox Adonis Guides
href: https://guides.nanobox.io/nodejs/adonis
- text: Microbox Adonis Guides
href: https://guides.microbox.cloud/nodejs/adonis
- text: Adonis Documentation
href: https://adonisjs.com/docs
---
10 changes: 5 additions & 5 deletions source/nodejs/express/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Express
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-express
quickstart_repo: https://github.com/mu-box/quickstart-express
more_info:
links:
- text: Nanobox Express Guides
href: https://guides.nanobox.io/nodejs/express
- text: Nanobox Postgres Guides
href: https://guides.nanobox.io/postgresql
- text: Microbox Express Guides
href: https://guides.microbox.cloud/nodejs/express
- text: Microbox Postgres Guides
href: https://guides.microbox.cloud/postgresql
---
6 changes: 3 additions & 3 deletions source/nodejs/feathers/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Feathers
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-feathers
quickstart_repo: https://github.com/mu-box/quickstart-feathers
more_info:
links:
- text: Nanobox Feathers Guides
href: https://guides.nanobox.io/nodejs/feathers
- text: Microbox Feathers Guides
href: https://guides.microbox.cloud/nodejs/feathers
- text: Feathers Documentation
href: https://docs.feathersjs.com/
---
10 changes: 5 additions & 5 deletions source/nodejs/hapi/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
project: Hapi.js
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-hapi
quickstart_repo: https://github.com/mu-box/quickstart-hapi
more_info:
links:
- text: Nanobox Hapi.js Guides
href: https://guides.nanobox.io/nodejs/sails
- text: Nanobox Postgres Guides
href: https://guides.nanobox.io/postgresql
- text: Microbox Hapi.js Guides
href: https://guides.microbox.cloud/nodejs/hapi
- text: Microbox Postgres Guides
href: https://guides.microbox.cloud/postgresql
- text: Hapi.js Documentation
href: https://hapijs.com/
---
6 changes: 3 additions & 3 deletions source/nodejs/moleculer/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Moleculer
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-molecular
quickstart_repo: https://github.com/mu-box/quickstart-molecular
more_info:
links:
- text: Nanobox Moleculer Guides
href: https://guides.nanobox.io/nodejs/moleculer
- text: Microbox Moleculer Guides
href: https://guides.microbox.cloud/nodejs/moleculer
- text: Moleculer Documentation
href: https://moleculer.services/docs/
---
10 changes: 5 additions & 5 deletions source/nodejs/sails/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
project: Sails
language: Node.js
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-sails
quickstart_repo: https://github.com/mu-box/quickstart-sails
more_info:
links:
- text: Nanobox Sails Guides
href: https://guides.nanobox.io/nodejs/sails
- text: Nanobox Postgres Guides
href: https://guides.nanobox.io/postgresql
- text: Microbox Sails Guides
href: https://guides.microbox.cloud/nodejs/sails
- text: Microbox Postgres Guides
href: https://guides.microbox.cloud/postgresql
- text: Sails Documentation
href: http://sailsjs.com/documentation/concepts
---
10 changes: 5 additions & 5 deletions source/php/codeigniter/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: CodeIgniter
language: PHP
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-codeigniter
quickstart_repo: https://github.com/mu-box/quickstart-codeigniter
more_info:
links:
- text: Nanobox CodeIgniter Guides
href: https://guides.nanobox.io/php/codeigniter
- text: Nanobox MySQL Guides
href: https://guides.nanobox.io/mysql
- text: Microbox CodeIgniter Guides
href: https://guides.microbox.cloud/php/codeigniter
- text: Microbox MySQL Guides
href: https://guides.microbox.cloud/mysql
---
10 changes: 5 additions & 5 deletions source/php/laravel/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
project: Laravel
language: PHP
quickstart_repo: https://github.com/nanobox-quickstarts/nanobox-laravel
quickstart_repo: https://github.com/mu-box/quickstart-laravel
more_info:
links:
- text: Nanobox Laravel Guides
href: https://guides.nanobox.io/php/laravel
- text: Nanobox MySQL Guides
href: https://guides.nanobox.io/mysql
- text: Microbox Laravel Guides
href: https://guides.microbox.cloud/php/laravel
- text: Microbox MySQL Guides
href: https://guides.microbox.cloud/mysql
---
Loading

0 comments on commit 98327bc

Please sign in to comment.