https://github.com/agentschapplantentuinmeise/meisecsi
MeiseBG Crop Source Investigations platform
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 (6.2%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
MeiseBG Crop Source Investigations platform
Basic Info
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 1 year ago
· Last pushed 11 months ago
Metadata Files
Readme
License
README.md
MeiseCSI
MeiseBG Crop Source Investigations platform
Reproducible Infrastructure as Code
You can install pulumi with the package manager of your OS
- MacOS: brew install pulumi/tap/pulumi
- Windows: choco install pulumi
- Linux: curl -fsSL https://get.pulumi.com | sh
Starting up
mkdir rice
pulumi new # e.g. choose aws-python
python3 -m venv C:\Users\$USERNAME\repos\MeiseCSI\rice\venv
C:\Users\$USERNAME\repos\MeiseCSI\rice\venv\Scripts\python -m pip \
install --upgrade pip setuptools wheel
C:\Users\$USERNAME\repos\MeiseCSI\rice\venv\Scripts\python -m pip \
install -r requirements.txt
cd rice
pulumi up
Create environment for secrets
pulumi env init mcsi/dev
Build container
docker build -t mcsi -f rice/con/Dockerfile .
docker run -v /c/Users/$USERNAME/repos/MeiseCSI:/app -p 5000:5000 -it mcsi /bin/bash
Update container on live server
sudo su - -l mcsi
docker stop mcsiserver
docker remove mcsiserver
cd repos/MeiseCSI/
git pull origin
docker build --build-arg USER_ID=$(id -u) \
--build-arg GROUP_ID=$(id -g) \
-t localhost/webapp -f rice/con/Dockerfile .
docker run -d -p 5000:5000 -e BADMIN_INIT='ton~1873' -v
~/instance:/app/src/instance --name mcsiserver localhost/webapp
docker exec -it mcsiserver /bin/bash
mkdir migrations
flask db init
flask db migrate -m'new migration'
flask db upgrade
If you need to remove previous migrations
import sqlite3
conn = sqlite3.connect('instance/mcsi.db')
cursor = conn.cursor()
cursor.execute("SELECT name FROM sqlite_master WHERE type='table';")
print(cursor.fetchall())
cursor.execute("DELETE FROM alembic_version;")
conn.commit()
conn.close()
Owner
- Name: Botanic Garden Meise
- Login: AgentschapPlantentuinMeise
- Kind: organization
- Email: quentin.groom@plantentuinmeise.be
- Location: Meise, Belgium
- Website: http://www.plantentuinmeise.be/
- Repositories: 11
- Profile: https://github.com/AgentschapPlantentuinMeise
GitHub Events
Total
- Member event: 1
- Push event: 38
- Create event: 2
Last Year
- Member event: 1
- Push event: 38
- Create event: 2