"A Logs analyser for developers build on top of elasticsearch"
-
- Django
-
- Django Rest Framework
-
- React
-
- Elastic Search
-
- Celery & Redis
docker-compose up --build
NOTE : You need to first setup elastic search on our machine, Follow this guide
$. python3 -m venv env
$. source env/bin/activate
$. py -m venv env
$. env\Scripts\activate
$. pip install wheel
$. pip install -r requirements.txt
Note: For Windows Users Replace python3 with python
$. python3 manage.py makemigrations
$. python3 manage.py migrate
$. python3 manage.py createsuperuser
$. sudo apt-get install redis-server
$. sudo service redis-server start
[Options: {start|stop|restart|force-reload|status}]
Refer This Article : https://dev.to/divshekhar/how-to-install-redis-on-windows-10-3e99
$. celery -A core worker -l INFO
https://stackoverflow.com/questions/37255548/how-to-run-celery-on-windows
$. python3 manage.py runserver
cd frontend/
npm i
npm run start
- Now goto http://localhost:3000/ to test and run ezLogger.
- http://localhost:8000/api/document/ (For Uploading New Log File, METHOD = GET/POST)
- http://localhost:8000/api/get-some-log-lines/<FILE_ID>/ (For getting first 'N' lines from recent uploaded log, METHOD = GET)
- http://localhost:8000/api/search/?q=<SEARCH_QUERY>&file_id=<File_ID> (For getting search result based upon user search query, METHOD = GET/POST)
See Ideas List here
- Create a branch with feature/bug-fix name.
git branch <branch-name>
git checkout <branch-name>
- Shorthand for creating a branch and checkout to the branch
git checkout -b <branch-name>
- After making the changes, run these commands.
git add . # To add all files to the staging area.
git add <file-name> # To add specific file to the staging area.
git commit -m "commit message"
git push # While running for the first time, you'll encounter an error. Run the suggested command given by git cli.