Releases: luanguimaraesla/pandocker
Default options
Now it is possible to run commands without options, using some default configurations.
mkdir myproject
cd myproject
pandocker new
pandocker compile
Support to command options and templates
New features
Now, it is possible to use some Pandocker commands like compile, help and new.
Quick usage
Choose a template in Pandocker Templates Site
Create an empty directory to your new Pandocker project and execute pandocker to setup the template structure:
mkdir myproject && cd myproject
pandocker new -t [template-name]
sudo chown -R $USER:$USER .
The chown
command will enable you to edit the files created inside docker.
Now, you can update the files according to the template specification and compile your markdown files to PDF executing:
pandocker compile -f pandocker.yml
Command line support
Now, all you need is to run Pandocker is the next command lines:
sudo systemctl start docker
cd your-project/
sudo docker run --rm -v `pwd`:/code luanguimaraesla/pandocker:0.2.0 "-f src/pandocker.yml"
You can alias this f*ck$@! command using:
alias pandocker="sudo docker run --rm -v `pwd`:/code luanguimaraesla/pandocker:0.2.0"
Then, you'll be able to use Pandocker like a pro:
cd your-project/
pandocker -f src/pandocker.yml
Migration to Elixir
For some reasons, Pandocker was rewritten. We choose the Elixir language for this purpose and now our software is stabler, maintainable and easy to use.
We drop out most of the environment variables for setup. Now all the Pandocker's configuration is set on a single YAML file. Its name is absolutely defined by the last docker environment variable, PANDOCKER_CONFIG_YAML.
Read more at README.md
sudo docker pull luanguimaraesla/pandocker:0.1.0