Code Monkey home page Code Monkey logo

jpm-verifix's Introduction

jpm-Cert Environment

Django CRUD for Cert Environment parameters set

Last refactor included Greg's requests:

  • Instead of "VeriFIX" it should say "Cert Environment". We should not really mention VeriFIX at all on the site
  • I don't really want to create and manage user logins for every customer and for every FIX session. That's unneeded overhead. We need a generic "jpm customer" login and then each customer will enter their FIX comp ID along with their desired parameters.
  • And with the above setup, I don't think we need an admin role. (but if it's there, it's ok) (Superuser comes with Django)
  • We'll need a different "generic" login for the result viewing site that we'll share with JPM personnel.

To run your Django app as a daemon/service on Ubuntu, you can use systemd to manage the process. Here's a step-by-step guide:

  1. Create a systemd service file for your Django app. sudo vi /etc/systemd/system/jpm_cert.service

Add this to the file:


[Unit] Description=Django JPM Cert Service After=network.target

[Service] User=hcaro Group=hcaro WorkingDirectory=/home/hcaro/jpmorgan/jpm-verifix ExecStart=/home/hcaro/jpmorgan/venv/bin/python manage.py runserver 10.70.4.35:8000 Restart=always

[Install] WantedBy=multi-user.target


  1. Restart the daemon: sudo systemctl daemon-reload

  2. Start service: sudo systemctl start jpm_cert

  3. Enable service: sudo systemctl enable jpm_cert

  4. Check it is running: sudo systemctl status jpm_cert

jpm-verifix's People

Contributors

hdcaro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.