npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

arepas-commander

v0.0.2

Published

Arepas Commander allow to interact with all ArepasApp's development tools in a simple and effective way

Downloads

4

Readme

arepas-commander

Arepas Commander is an NPM CLI tool to interact with an ADEs (Arepas Development Environments)

Prerequisites

The following software needs to be installed on your system:

Arepas Development Environment (ADE)

Any ADE have the following components

  • A Vagrant Box provisioned for an specific development platform (currently we support only PHP and Go)
  • A .json file to manage environment settings
  • A shared folder structure to share files between your computer and the vagrant box (you can use your preferred IDE or text editor to edit your files).
  • A set of shell recipes to install and setup software related to the chosen development platform and also recipes to perform automated tasks in an easy way.
  • An internal CLI installed in the vagrant box(see the arepas-cli repository)

All this components are managed by an external CLI (which is provided by this package/repository)

Installation

Just install arepas-commander as any other npm package at the npm registry.

npm install -g arepas-commander

Setting up your ADE

Create a folder wherever you want on your filesystem to home your workspace. Then use the arepas init command to initialize your ADE

In example:

mkdir workspace
cd workspace
arepas init php

After initializing your ADE you will have a new folder in your workspace with a Vagrantfile and an ade_{platform}.json file.

Example for PHP

{
	"ade": {
		"platforms": {
			"PHP": {
				"version": "20171030",
				"platform": "php",
				"hostname": "php.arepasapp.com",
				"memory": "1024",
				"ip": "192.168.56.151",
				"dns": {
					"entry": [
						{
							"domain": "php.arepasapp.com",
							"active": "yes"
						},
						{
							"domain": "phpapp.arepasapp.com",
							"active": "yes"
						}
					]
				},
				"apps": {
					"docs": {
						"dns": "php.arepasapp.com",
						"uri": "/docs",
						"webroot": "/var/www/projects/arepas-docs",
						"port": "80",
						"ssl": "no",
						"require": [
							"laravel",
							"bedrock",
							"wp-cli"
						]
					}
				}
			}
		}
	}
}

The meaining of every setting is explained in each ADE's github repository.

Starting your ADE

Once initilized your ADE you need to start it. On the first start up vagrant will run the provisioning process to setup all software. You just need to type this on your workspace:

cd workspace
arepas start php

Connecting to your ADE

Sometime you need to connect to your running ADE using SSH. You just need to type this on your workspace to open an SSH connection in your shell:

cd workspace
arepas connect php

Stopping or Reloading your ADE

To stop your ADE,type this on your workspace on your shell:

cd workspace
arepas stop php

To reload your ADE,type this on your workspace on your shell:

cd workspace
arepas reload php

Deleting your ADE

Once you have finished and shipped your software product you could destroy your ADE to free space on your system.

cd workspace
arepas delete php

Running Recipes

This feature is still on development

Developing Software with an ADE

This tutorial will be on the Wiki and is still on development

Contributing

To report issues use this repo issues tracker.

To collaborate with arepas-commander CLI fork and do some pull request (and welcome!!!)

To contact me write me at [email protected]