Coder Social home page Coder Social logo

website_development's Introduction

website_development

website frontend and backend

Setup environment and dependencies

  1. run chmod +x script/bootstrap
  2. run ./script/bootstrap

Setup alternative (if already has python3.10 and node.js)

Frontend: Vue

run npm install(automatically npm run build after)

Backend: Flask -> Python

run pip3 install -r requirements.txt

test

  1. test both frontend and backend: run num run test

  2. Test backend run pytest ./test_flask to test backend

  3. Test frontend run vitest --watch false to test frontend

server

  1. run num run start for integrated frontend and backend

  2. run npm run serve for frontend development

  3. run flask (--debug run) for backend development

website_development's People

Contributors

zuoyuwang avatar weitao3 avatar austin618 avatar dependabot[bot] avatar

website_development's Issues

Some workflows have no defined timeouts or are not using ubuntu-latest

This repo has workflows that have no defined timeouts and/or are not using ubuntu-latest.

We use self hosted runners to avoid overage costs associated with GitHub Actions. However, we don't have a lot of workers to handle all of the load.
To ensure a single build doesn't spend hours and monopolize our workers, we limit each job to 20 minutes.
Please add a timeout to your jobs. We will disable your actions until you add them.

Your build may also be missing ubuntu-latest in the runs-on field.

Docs: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes
Example:

jobs:
  build:
    runs-on: ubuntu-latest # This is required
    timeout-minutes: 20 # Add this line here

Affected Workflows:

Workflow Path Job Re-enable
.github/workflows/main.yml build https://github.com/dcsil/website_development/actions/workflows/main.yml

sort update

after choosing sort mode, page doesn't change until click the sort again

restrcure ci/cd

Update current CI/CD by following

  1. Setup CI check on Pull Request to master
  2. Setup CD when successfully merge into master (meaning successfully CI and approved Pull Request)

add dashboard

add dashboard

  • reset passward
  • logout
  • history
  • favourite

Disabling GitHub Actions

Congratulations on finishing the course!

To make sure we have have workers for the next term, we have automatically disabled your repository's actions.

Feel free to make this repo public or fork to your own org, but we do ask that you leave a copy in the DCSIL org :)

Disabling GitHub Actions

Congratulations on finishing the course!

To make sure we have have workers for the next term, we have automatically disabled your repository's actions.

Feel free to make this repo public or fork to your own org, but we do ask that you leave a copy in the DCSIL org :)

UI beautify

  1. Each influencer card
  2. Indicator of current page number

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.