To make it easier for everyone to setup projects, we use the following commands to init, update and running:
make init
(creating startup point, requires additional infos within the readme)
make update
(autoupdates project, commit all changes)
make run
(runs the project)
Additional commands are available depending on the project, always check the Makefile to ensure.
We use the fidea-project as a reference to steup hpo-project.
- Clone the project
- Ensure a proper
Readme.rst
is available, use the reference as a guideline. - Change the database command within
Readme.rst
to reflect the projects name, we need this name later to setup personal.py - Copy the
Makefile
into the projec - Make sure that the project doesnt use sass, if there is a sass folder change the css: command to point to the right config.rb like
compass watch py_src/project
. See autofaszination-project as a reference. - Check the .init.sh file, you might want to copy the reference init as bootstrap.py might fail when running make init
- Change the
personal.cfg-dist
to include the additional eggs (copy the file from fidea) - Change the
py_src/project/settings/personal.py-dist
and enter the correct database informations using postgres. Ideally you can copy the reference personal.py-dist and change the db name.
Thats it, now you should be able to continue with the instructions from the readme.
Error: Bad constraint 1.2.0 Django>=1.4
Update the Django version within version.cfg to Django = 1.4.0.
Warning: Command(s) not found: pg.download
This means this project uses mysql, see hpo-project for mysql setup and update accordingly