Skip to content

The local foodnode for Helsinki and Capital Region, Finland

License

Notifications You must be signed in to change notification settings

avokaato/localfoodnodes-helsinki

 
 

Repository files navigation

Local Food Nodes

Get started with the dev environment

Project

  • Clone git repo
  • Run composer install in project root directory

Setup dev environment

  • Follow the Homestead documentation

Elasticsearch

  • Make sure the docker-machine is running.
  • SSH to docker-machine with docker-machine ssh and run sudo sysctl -w vm.max_map_count=262144 to increase value.
  • Run docker-compose up -d to start elasticsearch container

Build assets

We're using elixir, just run gulp watch in terminal.

Problem with storage write permission

  • php artisan cache:clear
  • chmod -R 777 storage
  • composer dump-autoload

Testing

php artisan migrate --database='phpunit' php artisan db:seed --database='phpunit'

Renew certificate

letsencrypt_webfaction --letsencrypt_account_email [email protected] --domains localfoodnodes.org --public ~/webapps/localfoodnodes_2/public --username [ssh username] --password [ssh password]

About

The local foodnode for Helsinki and Capital Region, Finland

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 64.6%
  • HTML 24.8%
  • JavaScript 5.6%
  • CSS 2.8%
  • Vue 2.2%