Fetch and format Infoscience data
Configurable exports from Infoscience for your list of records
Here we expose the docker way to get started. To get along without docker, see this documentation.
- Make
- pipenv
- Docker
- Docker-compose
Start with:
make init-venv
Change the default values, if needed, by editing the .env file. Then, check the result:
make vars
Again, before building, assert your env vars are well setted:
make vars
Build the images, run the containers and initialize the DB:
make init
Get the working url:
make show-app-url
Depending on your envs, it may be https://127.0.0.1:3000/publication-exports/.
And check the result with your favorite browser on it (add /admin
if needed).
Later you can start the stack with:
make up
and stop with:
make stop
The first thing to do is enable a post-commit git hook in order to have the versions taken care of
cp update_release.py .git/hooks/post-commit
This hook will update automagically the file './versions.py' on each commit, so you are ready to release new versions.
When you are happy with your changes, you can release a new version.
First, be sure to have the Changelog Generator installed:
sudo gem install github_changelog_generator
Then, create the release:
make release
This will take care of creating the version number, the branches, the tags, the changelog and the github release.
- Openshift
- Have a running Openshift instance
- Keybase
- Have access to the content of this folder
- /keybase/team/epfl_idevfsd.devrun/infoscience-exports/
- Have access to the content of this folder
- Asset Openshift is correctly configured:
./ansible/exportsible
- Start the local compilation, and send the new image to openshift:
./ansible/exportsible -t update-image-with-local
oc rollout restart deployment/infoscience-exports
Take a look into the documentation folder