Update file README.md
This commit is contained in:
parent
f39d3d5963
commit
1ab8c9fb2e
16
README.md
16
README.md
@ -12,4 +12,18 @@ to [raphael.waltenspuel@unibas.ch](mailto:raphael.waltenspuel@unibas.ch)!
|
|||||||
|
|
||||||
It is recommended that you first create a ```.gitignore``` file. (And exclude the "datasets" folder, for example). A useful tool for creating ```.gitignore``` files is www.gitignore.io.
|
It is recommended that you first create a ```.gitignore``` file. (And exclude the "datasets" folder, for example). A useful tool for creating ```.gitignore``` files is www.gitignore.io.
|
||||||
|
|
||||||
Feel free to update or replace this readme with a brief description of your project and goals.
|
Feel free to update or replace this readme with a brief description of your project and goals.
|
||||||
|
|
||||||
|
### Database setup guide
|
||||||
|
|
||||||
|
1. Make sure all the requirements in ’requirements.txt’ are met. If they are not
|
||||||
|
met, run pip install -r requirements.txt in the root of the project.
|
||||||
|
2. Run the python script ’integrate.py’ in the ’src’ folder. Set all booleans to
|
||||||
|
’False’ in the main methode of the script. If the datasets have already been
|
||||||
|
downloaded, set all the booleans to ’True’. The datasets need to be in a
|
||||||
|
folder named ’datasets’ in ’src’ (this should be set up automatically by the
|
||||||
|
script).
|
||||||
|
3. Ensure you have a running Postgres instance with a database.
|
||||||
|
4. Ensure you have the correct credentials in the python script ’fill_db.py’ in
|
||||||
|
’dbinfo’
|
||||||
|
5. Run ’fill_db.py’
|
||||||
Reference in New Issue
Block a user