diff -r 4196849b15d3 -r 00c9bb0f6f37 server/src/README.md --- a/server/src/README.md Mon Jul 25 00:00:05 2016 +0200 +++ b/server/src/README.md Mon Jul 25 12:13:09 2016 +0200 @@ -12,11 +12,24 @@ # TEST AND DEV $ Python manage.py runserver 0.0.0.0:8001 - + It is important to run the server on localhost:8001 if you are going to test with the flask OAuth server in the /oauth/ folder -Then we need to configure the Django-Allauth Social App. +Then we need to configure the Django-Allauth Social App. You will need a Client ID and Client Secret registered by the OAuth server that you will interact with. -For this you need to log into the admin panel (after creating an admin superuser), and add an entry in the "Social Application" table. -You must assign a site to Renkan Social Application, which will be the base URL of Renkan (on test and dev, 127.0.0.1:8001) \ No newline at end of file +For this you need to log into the admin panel (after creating an admin superuser), and add an entry in the "Social Application" table. +You must assign a site to Renkan Social Application, which will be the base URL of Renkan (on test and dev, 127.0.0.1:8001) + +# DEVELOPMENT + +The assets source (css, lib and js) are found in the `assets` folder. They need to be build. +First install the dependencies (all command must be run in the same folder than this `README.md` file): + + $ npm install + +then build the assets with the command: + + $ npm run-script build + +The assets are goind to be build (by `babel`) in the `metaeducation/static/metaeducation` folder.