This Programming Project has the aim to create an Web Application to analyse sets of data in multiple forms. The Data Analyst will be able to create Diagrams, Graphs, Tables. Animations will help to visualize data.
Before continuing, make sure to have python installed
Activate a virtual environment
Run in any folder where you want the project to be:
python -m venv
Activate the virtual environment, run:
.\.venv\Scripts\Activate.ps1
You should now see a (.venv) in front of your current directory in the terminal like this: (.venv) PS ...\Data-Analyst>
Clone the git repository
Run in the parent folder of the virtual environment
git clone https://github.com/D4veDev/Data-Analyst.git
Install Python Modules
Change your directory into the Data_Analyst Folder
cd Data_Analyst
Install Modules
python -m pip install -r "requirements.txt"
Install NodeJs (If already installed, skip this step)
- Check if your have NodeJs already installed by typing
node -v
into a CLI. If an error occurs, follow following steps. - Go to: https://nodejs.org/en/
- Download executable that is suitable for your operating system
- Execute file and follow instuctions until finished
- Make sure NodeJS is located in your Path. If not, add:
C:\Program Files\nodejs\
Install Dependencies
This step installs all necessary dependencies into your virtual environment to make the project work
Change your directory to
cd .\Data_Analyst\frontend\
run following command:
npm install
It is possible that warnings and/or errors occur, in that case, try to find a solution online.
Add a secret key to your project
Change your directory to the Data_Analyst Folder, the same level as requirements.txt
create a .env
file
copy following text into the file:
SECRET_KEY = 'YOUR SECRET KEY HERE`
go to https://django-secret-key-generator.netlify.app/ and copy the generated secret key
replace your secret key instead of YOUR SECRET KEY HERE
save the file
Run the project
-
change your directory into the frontend folder, inside Data_Analyst
-
run the dev command, which bundles all files using webpack in development mode
npm run dev
- change directory into the parent folder and run the following command:
python .\manage.py runserver
this will start a development server using Django
- go to http://127.0.0.1:8000/
Anyone is welcome to contribute, before doing so, please contact me on Discord: DaveDev#8042
and i'd love to have a chat with you.
If you have any suggestions, but dont want to contribute anything, feel free message me on Discord too :D.