https://github.com/brian-team/briansimulator.org
Source for the Brian simulator website
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Repository
Source for the Brian simulator website
Basic Info
- Host: GitHub
- Owner: brian-team
- Language: Jupyter Notebook
- Default Branch: master
- Homepage: https://briansimulator.org
- Size: 29.4 MB
Statistics
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
briansimulator.org
Installing
conda create --name nikola python=3
conda activate nikola
pip install Nikola[extras]
Building the website locally
conda activate nikola
nikola build
Depending on your configuration, you might have to set an environment variable
to avoid conflicts over the jupyter configuration. E.g. on Windows:
conda activate nikola
set JUPYTER_CONFIG_DIR=.
nikola build
To serve the website locally:
nikola serve -b
Alternatively, you can use the following command to develop locally, it will
build and serve the website, and rebuild it whenever a file changes:
nikola auto
Deploy the website
nikola github_deploy
Writing new posts
Posts are either "articles" or "news" and should be created in the respective
directories of the current year (e.g. articles/2020 or news/2020).
Additionally, they have to set the category metadata to either news or
article. They should also in general set a number of tags.
Writing articles
Articles are jupyter notebook files. By default, a special header is added to their rendering on the website. This header contains an automatically generated "launch binder" badge, and a link to the general "Notes on Notebooks" article. Note that this header is only included on the website, it will not be shown on binder or when downloading the notebook.
If you do not want this header to be added, set hide_notebook_header to true
in the notebook's metadata.
In addition, copy & paste the following HTML code to the beginning of the
notebook (in a markdown cell):
HTML
<div class="notebook-quickstart">
<h3>Quickstart</h3>
To run the code below:
<ol>
<li>Click on the cell to select it.</li>
<li>Press <code>SHIFT+ENTER</code> on your keyboard or press the play button
(<button class='fa fa-play icon-play btn btn-xs btn-default'></button>) in the toolbar above</li>
</ol>
Feel free to create new cells using the plus button
(<button class='fa fa-plus icon-plus btn btn-xs btn-default'></button>), or pressing <code>SHIFT+ENTER</code> while this cell
is selected.
</div>
This header will not be shown on the website, but included when you run the notebook on mybinder or locally.
To shorten the article preview (e.g. for its use in the RSS feed), you can add
the following comment after the initial paragraphs:
HTML
<!-- TEASER_END -->
Articles can also have a preview image that will be used in the article
overview, or e.g. in twitter posts. This preview image should be quadratic and
at least 120x120 pixels in size. If you put an image with the same name as the
notebook in files/images in the same folder hierarchy, it
will be automatically used as a preview image.
For example, the preview image for file articles/2020/my_notebook.ipynb should
be named files/images/articles/2020/my_notebook.png (or .jpeg, etc.)
Alternatively, you can specify it explicitly using by setting the previewimage
metadata.
Owner
- Name: Brian simulator
- Login: brian-team
- Kind: organization
- Location: Paris, France
- Website: https://briansimulator.org
- Repositories: 25
- Profile: https://github.com/brian-team
GitHub Events
Total
- Push event: 8
Last Year
- Push event: 8
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- bdevans (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- brian2
- cython 0.29.*
- matplotlib 3.1.*
- pip 19.1.*
- plotly 4.5.*
- python 3.6.*