Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: addition of example app #42

Merged

Conversation

JavierDelgadoFernandez
Copy link
Contributor

  • Adds an example application.

Signed-off-by: Javier Delgado javier.delgado.fernandez@cern.ch

@jirikuncar jirikuncar added this to the v1.0.0 milestone Jan 26, 2016

.. code-block:: console

$ pip install invenio-search==1.0.0a3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

>= instead of ==


.. code-block:: console

$ dojson do -i authority.xml -l marcxml marc21 > records.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JavierDelgadoFernandez
Copy link
Contributor Author

@jirikuncar updated.


.. code-block:: console

$ flask -a app.py run -p 5000 -h '0.0.0.0'
$ flask -a app.py records create records.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ flask -a app.py records create < records.json

or

$ flask -a app.py records create -i records.json

* Adds an example application.

Signed-off-by: Javier Delgado <javier.delgado.fernandez@cern.ch>
@JavierDelgadoFernandez
Copy link
Contributor Author

@jirikuncar Rebased and updated.

@jirikuncar jirikuncar merged commit feab057 into inveniosoftware:master Feb 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants