Manage content better.
npm install buckets@latest
You can also run the above command with
--save to add Buckets to your app’s package.json (recommended). From here, you can run Buckets in a script like this:
buckets = require'buckets';bucketstemplatePath: __dirname + "/templates/"publicPath: __dirname + "/public/"// Additional configuration…;
There is a skeleton project available which uses the above configuration as a sample. If you plan on deploying to Heroku, you can also optionally use the button below to get started—which will deploy the skeleton project to Heroku, automatically adding free plans for any necessary services.
If you plan on contributing to Buckets' development, you can install and deploy Buckets directly from this repo. You will need to install a few extra dependencies for building the frontend files.
npm install -g grunt-clinpm install
This will install Grunt globally and Buckets' dependencies (including devDependencies). Grunt can then be used for most tasks, as shown below.
You can compile the Buckets client-side assets by running
grunt prepublish instead.
Once the client-side assets has been compiled, you can run
npm start to start the Buckets server and your site should be accessible at the default address: http://localhost:3000/.
Alternatively, you can run
grunt start—this also starts a server at the default address, but will additionally watch all files for changes. Any changes to server CoffeeScript will restart the web server and then reload the browser. Any changes to client-side CoffeeScript, Stylus, or Handlebars will re-compile the appropriate files, then reload the browser.
If you're deploying directly from this repo, you'll need to make one change to your local environment, which is to remove the
/public from your
.gitignore file. This is because we don't install Grunt or its dependencies in production environments to make everything faster/easier for people who install Buckets as an NPM module.
Follow along with Buckets’ progress and keep in touch with other Buckets users.
- Follow Buckets on Twitter and Facebook
- Keep up to date with announcements and track project progress on Assembly.
- Sign up to be notified when Buckets is available for public beta.
This is a product being built by the Assembly community. You can help push this idea forward by visiting https://assemblymade.com/buckets. We welcome any contributions to product design/direction or code.
Assembly products are made with contributions from the community. Assembly handles the boring stuff like hosting, support, financing, legal, etc. Once the product launches we collect the revenue and split the profits amongst the contributors.