Lucas 64d731a9c6 Merge branch 'webpack' into 'master'
Webpack pooooowwwwwaaaaaa

See merge request !20
2016-11-18 14:27:19 +00:00
2016-11-18 15:24:17 +01:00
2016-11-13 15:14:28 +01:00
2016-06-11 13:54:01 +02:00
2016-11-13 15:14:28 +01:00
2016-11-13 15:14:28 +01:00
2016-11-18 15:24:17 +01:00

Install dependencies

Install node

You'll need node v6+, here's a link to install it: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

Install yarn and dependencies

sudo npm install -g yarn
yarn install

Go tools && Dependencies

As there is no versioning yet, you need to manually go get all the packages

go get ./...

go tools:

go get -v github.com/pilu/fresh
go get -v github.com/mattes/migrate

Dev

Check your config.yml file

Run server

make dev

Run javascript tools

yarn start

Connect to the database

docker run -it --rm --link canape_postgresql_dev:postgres postgres:9.5 psql -h postgres -U test

You'll need to connect to the dev database with this command:

\c dev

Default users

This users are defined with this parameters: pepper: "pepper" cost: 10

Users:

  • Admin user: admin / admin
  • Test user: test / test

Run the tests

make test

To clean up

make clean
Description
No description provided
Readme 13 MiB
Languages
Go 50.1%
JavaScript 46.1%
PLpgSQL 1.7%
Shell 1.2%
SCSS 0.8%
Other 0.1%