- clone this repository in a folder
git clone https://github.com/Concord-EPMA/Concord-Sparrow/tree/main/website .
bash -c "$(curl -fsSL https://raw.githubusercontent.com/EarthCubeGeochron/Sparrow/HEAD/get-sparrow.sh)"
- ensure Docker has been updated and is currently running with sufficient memory allocation(>=4GB)
- you should be able to run
sparrow
with no errors - run
sparrow up
(make sure you're in the directory you just cloned) - go to localhost:5002
cd website
yarn && yarn dev
python3 -m venv env
source env/bin/activate
python3 -m pip install --upgrade pip
pip install -r requirements.txt
cd importers
python /importers/dataCleaner.py
- Convert the current schema to a visual database diagram using a tool like drawsql
- Convert database diagrams into SQL and create required tables by using sparrow plugins
- put created sql in plugins/backend-plugins directory
- Create custom api endpoints by creating sparrow plugins
- for help look through the following repositories:
- Dockerize website and replace default website by changing
sparrow-config.sh
file
for more help with sparrow visit - sparrow database docs