https://github.com/fflch/analytics
https://github.com/fflch/analytics
hacktoberfest
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fflch/analytics
- Owner: fflch
- Created: 2022-08-03T15:40:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-04T21:03:29.000Z (over 2 years ago)
- Last Synced: 2024-06-11T20:37:54.603Z (about 2 years ago)
- Topics: hacktoberfest
- Language: Python
- Homepage:
- Size: 11.8 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FFLCH Analytics
Libraries instalation:
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
Mysql:
sudo apt-get install python-dev default-libmysqlclient-dev
Exemplo .env:
DEBUG=True
SECRET_KEY=yoursecretkey
DBNAME=analytics
DBUSER=admin
DBPASSWORD=admin
DBHOST=localhost
DBPORT=3306
ETL_DBNAME=etl
ETL_DBUSER=admin
ETL_DBPASSWORD=password
ETL_DBHOST=localhost
ETL_DBPORT=3306
Up django:
python3 manage.py migrate
python3 manage.py runserver
Scripts para popular db:
python3 populadb.py
Front-end:
npm install
Dev server webpack bundle:
npm run dev