Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
generator-francis-craft
Advanced tools
Francis Bond's Yeoman generator for scaffolding a Craft website with Gulp, Bower, Sass, inuit.css, Modernizr, and jQuery.
npm install -g francisbond/generator-francis-craft
yo francis-craft
gulp build
for building and gulp watch
for previewgulp deploy-init
to initalise a deployment environmentgulp deploy
after committing changes to deploy themgulp db-push
and gulp db-pull
to push and pull databases between local and remote environmentsgem install sass
.gulp deploy-init
Initialize a Dokku container for use in the project's deployment.
You should follow this command with gulp db-push.
gulp deploy
Pushes the repository to the Dokku remote.
gulp db-push
Dumps the local database to /.tmp
, and imports it to the linked Dokku MariaDB container.
gulp db-pull
Dumps the remote Dokku MariaDB database to /.tmp
, and imports it to the local environment.
gulp db-dump
Dumps the local and remote databases, and saves them to /databases
.
gulp watch
Watches the project for changes in images, styles, javascript, HTML, etc. and performs appropriate actions. Skips some non-critical resource-intensive processes (e.g. image optimization).
gulp build
Build the project for deployment. Performs all tasks including minification and image optimization.
bower install
Install project-specific Bower packages defined in bower.json. You should run this command when cloning an already initialized repository.
npm install
Install project-specific npm packages defined in the package.json. You should run this command when cloning an already initialized repository.
bundle install
Install sass
and sass-globbing
which are required by the build system.
gulp deploy-init
will fail, since a Dokku remote has already been created. Running git remote remove dokku
will resolve this.gulp deploy
will sometimes fail if a newer commit has been deployed but not pushed to the repository. You can override this by running git push origin dokku --force
.FAQs
Scaffold out a Craft website
The npm package generator-francis-craft receives a total of 4 weekly downloads. As such, generator-francis-craft popularity was classified as not popular.
We found that generator-francis-craft demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.