If you'd like to contribute and make this much better for other users, have a look at Issues.
Created something awesome for your fork of the portfolio and want to share it? Feel free to open a pull request.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
[email protected] or higher
[email protected] or higher
From your command line, clone InvestLog and create a virtual environment:
# Clone this repository
git clone https://github.com/ddkostadinov/investlog.git
# Go into the repository
cd investlog
# Create a virtual environment
python3 -m venv .venv
# Activate it
source ./.venv/bin/activate
# Go into the main project folder
cd investlog
# Setup default environment variables
# For Linux
cp env.example .env
# For Windows
copy env.example .env
# Install dependencies
pip install -r requirements.txt
Now lets create a new Django secret key:
# Open the Python shell in Django:
python manage.py shell
# Import the generator function:
from django.core.management.utils import get_random_secret_key
# Create a new secret key:
print(get_random_secret_key())
# Copy and paste the printed key inside the .env file that you created:
#.env
DJANGO_SECRET_KEY = "[new secret key]"
EMAIL_RECEIVER = ""
EMAIL_SENDER = ""
EMAIL_PASSWORD = ""
# You can exit the shell:
exit()
To start the application, create the migrations and run it:
# Create migrations:
python manage.py makemigrations
# Migrate them:
python manage.py migrate
# Run app:
python manage.py runserver
Now you can check your application at localhost.
โ๏ธ Home
โ๏ธ Contact
โ๏ธ About
โ๏ธ Login
โ๏ธ Logout
โ๏ธ Register
โ๏ธ Dashboard
โ๏ธ Add Investment
โ๏ธ Edit Investment
โ๏ธ Delete Investment
โ๏ธ Graphs
โ๏ธ Change Username\