Metatrack is a project executed by team 83 in the 2022 cohort of Zuri's training..
Metatrack is a Web Application for saving digital files and extracting Metadata of those files. You also have an option to save, export, download, share and embed in your own website.
To learn more about metadata and metatrack, read our documentation
In a world where most people see only the contents of digital files, we provide a way for a you to see the data behind the content... even without opening it.
If you are a Photographer, Journalist, Lawyer, NFT and Web 3 enthusiast, programmer, or any metadata cruncher, some times you need to know the metadata behind your digital file... 'and that, my friend, is where we come in'.
This project was designed with Figma and Figjam, and built with HTML, CSS, django and postgresql database.
The metatrack project has some amazing feature of immense benefit and they include:
We give you the ability to upload and generate metadata for your particular file type with just a click.
You can also download the generated metadata in a .mttrck
digital format and read it with any text editor of your choice.
Upon uploading your digital file, the file is forever safely stored in the Metatrack cloud for you until when you decide to get rid of it.
Programmers can easily embed generated metadata into a website’s code.
These are some of the apps that should be installed in your local machine for a seamless flow.
Clone the repository git clone https://github.com/zuri-training/proj_fetch_meta_data_team_83/
configure the project for local machine
python -m venv env
pip install -r requirements.txt
cd into fetch_metadata
1. Go to [postgresql website](https://www.enterprisedb.com/downloads/postgres-postgresql-downloads) and download postgresql database version 13.7 for uniformity
2. Install with adminstrator priviledges and set your superuser password
3. open pgAdmin 4
<br><br>
![pg admin signin](pgAdmin1.gif)
<br><br>
- click server, and right click you PostgreSQL version
- create new database and input your superuser password
Create a .env
file and type the following
PG_DB = '<database_name>'
PG_USER = '<postgres_user>'
PG_PASSWORD = "<your_password>"
PG_HOST = "127.0.0.1"
PG_PORT = "<port_number>"
replace databasename, postgres_user, your_password and port_number with the database name you created, postgres user , your password and your portnumber.
_The postgres-user is usually postgres
and The port number is usually 5432
unless you changed it
install the requirements.txt
Open a new terminal and start a redis server using redis-server
.
Start celery using python -m celery fetch_metadata worker
Runserver using python manage.py runserver
Any issues? please create an issue.
contributions are always welcome!
Find the project's repository on github, and then 'fork' it by clicking the fork button in the upper right corner.
While still in the repository, click the green clone or download button and then copy the https url.
Using git on the local machine, clone your fork using the url copied: git clone url_of_fork.
Add it to the repository using git remote add upstream https://github.com/zuri-training/proj_fetch_meta_data_team_83
.
Use git remote -v
to check that you now have two remotes: an origin that points to your fork, and an upstream that points to the project repository.
Use git pull upstream main
to "pull" any changes from the "main" branch of the "upstream" into the local repository.
Create a new branch using git checkout -b <branch_name>
to create a new branch and then immediately switch to it. the name of the branch should briefly describe what you are working on.
After making a set of changes, use git add -A
to stage changes and git commit -m <description of changes> <branch of the "origin">
(which is your fork on github).
Return to fork on github, and referesh the page. Click the green compare & pull request button to begin the pull request. Alternatively, you can switch to your branch using the branch button and then click the new pull request button.
Below the pull request form, you will see a list of the commits you made in your branch, as well as the "diffs" for all of the files you changed.
If everything looks good, click the green create pull request button!
At this point, your fork is out of sync with the project repository's main branch.
To get it back in sync, use git pull upstream main
To ingressive for good and zuri team for the training and opportunity to carryout this project.
Our team is made up of wonderful people, who all cotributed to this project to make it successful
=======