amber-microblog

Microblog example using Amber Framework

microblog

Amber Framework

microblog is a new project using Amber Framework

Installation

Install shard dependencies.

shards install

Configure the config/environments/development.yml and set the database_url with your credentials to your database.

Then:

amber db create migrate

Usage

Development

To run amber development server:

amber watch

Production

To setup AMBER_ENV:

export AMBER_ENV=production

To build a production release:

shards build --production --release microblog

To build production assets:

npm run release

To use encrypted environment settings see documentation

Docker Compose

This will start an instance of mysql, migrate the database, and launch the site at http://localhost:3000

docker-compose up -d

To view the logs:

docker-compose logs -f

Note: The Docker images are compatible with Heroku.

Contributing

  1. Fork it ( https://github.com/your-github-user/microblog/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

amber-microblog

Owner
Statistic
  • 3
  • 1
  • 0
  • 0
  • 7
  • almost 7 years ago
  • January 22, 2018
License

Links
Synced at

Thu, 21 Nov 2024 00:24:00 GMT

Languages