Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

life-manager-online

Python (Django) and Javascript online adaptation of my life-manager project

This is my first ever attempt at a Django project. It's a continuation of my previous largest project (life-manager) which by now I'm probably done with. I'll try to implement everything that I did there, and get to the features that I didn't complete.

How to setup:

  1. Download repository to your computer
  2. Check your local IP address, on Windows open command line and type ipconfig
  3. Go to /lmoproject/lifemanageronline/settings.py
  4. Change ALLOWED_HOSTS to whatever your local IP is
  5. Go to directory /lmoproject/ and open terminal
  6. Run python manage.py makemigrations
  7. Run python manage.py migrate --run-syncdb
  8. Run python manage.py runserver 192.168.0.104:8000 where you replace the IP with your local one
  9. Go to http://192.168.0.104:8000/setup (again replacing it with your IP)
  10. The setup procedure will begin on the terminal where you've run the server, follow the prompts*
  11. Set your username and password in /lmoproject/lmoapp/credentials.py
  12. Done!

*You can run dbgen_wizard for a more pleasant GUI interface to define the things you want to track. When you press Finish it will open a TXT file with generated input, which you can just copy and paste in the terminal on step 10. You will still have to enter the beginning date and database length.

I can't be bothered to make responsive design, so currently this application does not display properly on a horizontal widescreen display. Also it's only tested on Chrome. If you want to see it correctly in Desktop Chrome, right-click, press Inspect, and press on the tablet/smartphone icon on the top left.

If you want to be able to access this remotely (from mobile network or another Wi-Fi), set up port forwarding in your router settings with the port 8000 and your local IP. Add your public IP in ALLOWED_HOSTS in settings.py WARNING! This code is extremely vulnerable and hackers might be able to hack it and execute their own code. I do not recommend using this app on your public network yet!!!

About

Python (Django) and Javascript adaptation of my life-manager project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages