Skip to content

This is the code (without static images) for the website gmjnow.com

Notifications You must be signed in to change notification settings

williamaurreav23/GMJNow

 
 

Repository files navigation

GMJNow

This is the code (without static images) for the website gmjnow.com

Installation

Use Docker or the package manager pip to get up and running.

If docker is installed, besides running some automation to get data, you'll need to following to get the App up and running

docker build -t gmjnow .
docker run -d -p 8000:8000  \
--mount type=bind,source="/${pwd}/stock_dfs/",target=/app/stock_dfs,readonly \
--mount type=bind,source="/${pwd}/static/",target=/app/static,readonly \
--name finance-app gmjnow

You'll need a postgres server to run the blog and can connect through the settings

pip3 install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver 127.0.0.1:8000
  1. Clone this Repository
  2. In the root directory source the bin file i.e. (source bin/activate) in your bash CLI)
  3. installing pip https://pip.pypa.io/en/stable/installing/
  4. Run 'pip3 install -r requirements.txt' in the root directory of this project
  5. Run 'python3 manage.py migrate'
  6. Run 'python3 manage.py runserver 127.0.0.1:8000'
  7. Go in your browser to '127.0.0.1:8000'

Deploying

The nginx.conf can be dropped in /etc/nginx/conf.d/ and should serve up traffic if you insert your domain approopriately and get SSL certs on the EC2 instance Docker command:
docker run -d -p 8000:8000 \ --mount type=bind,source="/${pwd}/stock_dfs/",target=/app/stock_dfs,readonly \ --mount type=bind,source="/${pwd}/static/",target=/app/static,readonly \ --name finance-app gmjnow

##TO DO
2. Add Testing 7. Use Airflow instead of cron jobs to schedule tasks 3. Start React frontend - make more modular 2. Utilize simpleAnalysis and positions app

  1. Use mixins to simplify Setup
  2. Change static file asset hosting
  3. Separate AI from basic information
  4. Utilize Blob with file check instead of pickle or base64 database store
  5. Save Model using Mongo DB
  6. Social Auth User Profile Management

License

MIT

About

This is the code (without static images) for the website gmjnow.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.0%
  • HTML 42.7%
  • Dockerfile 0.3%