Coder Social home page Coder Social logo

trellixvulnteam / nbwebapp_71qq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fh337/nbwebapp

0.0 0.0 0.0 62.39 MB

JavaScript 0.22% C++ 0.16% Python 95.01% C 1.28% Fortran 0.02% Tcl 1.96% MATLAB 0.01% CSS 0.13% TeX 0.06% Makefile 0.01% HTML 0.30% Smarty 0.01% Jupyter Notebook 0.48% Cython 0.37%

nbwebapp_71qq's Introduction

Step running aplikasi
1. Buka folder demo via file explorer, copy folder myproject ( file utama )
2. Buka mysql workbench, drop semua table di skema demo, (nanti akan digenerate ulang di proses migrate)
3. Masuk virtual env via cmd, demo>venv\Scripts\activate
4. Masuk folder demo/myproject, lakukan migrate, python manage.py migrate (tidak perlu makemigrations, karena di folder migration sudah dibuatkan initialnya)
5. Optional: Create superuser, python manage.py createsuperuser
6. Run aplikasi, python manage.py runserver
7. Optional: Insert masal data emiten dan list paragraph. 
bisa dicopas kolom "query insert" ke sql editor di mysql workbench, run+commit


untuk case migrate jika ada gagal bisa dicoba untuk generate ulang file migration dan migrate, 
1. drop semua table di SCHEMA demo via mysql workbench
2. buka myproject/nbapp/migration, delete semua file di folder (biasanya ada file: 0001_initial.py dst)
3. generate ulang file migration dengan command: python manage.py makemigrations
4. lakukan migrations: python manage.py migrate
5. optional: insert data emitten dan news list via sql, sesuai data sample di excel

nbwebapp_71qq's People

Contributors

fh337 avatar trellixvulnteam 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.