$ ember install ember-cli-postcss # Install ember-cli-postcss
$ npm install --save-dev tailwindcss # Install tailwindcss
$ npx tailwind init app/styles/tailwind.config.js # Optional: Generate a Tailwind config file for your project
$ npm install -save-dev postcss-import # Optional: If you want to use the @import statement
$ python -m http.server # Create a webserver serving files relative to the current directory
$ python -m http.server 8080 # Start the webserver on port 8080
$ python -m http.server -b 127.0.0.1 # Bind the webserver to 127.0.0.1
$ python -m http.server -d path/to/files # Serve files relative to path/to/files
$ docker build -t my-image . # Create image using this directory's Dockerfile
$ docker run -p 4200:80 my-image # Run "my-image" mapping port 4200 to 80
$ docker run -d -p 4200:80 my-image # Same thing, but in detached mode
$ docker run username/repository:tag # Run image from a registry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import click | |
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help']) | |
@click.group(context_settings=CONTEXT_SETTINGS) | |
def cli(): | |
pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import click | |
# the version number to show. If None Click attempts an auto discovery via setuptools. | |
VERSION = "0.1" | |
@click.group() | |
@click.version_option(VERSION, "-v", "--version") | |
def cli(): | |
pass |
NewerOlder