bitprj / bit-next

Home Page:https://bit-next.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend

Running the Frontend

In the proeject directory first install the packages if you never installed them:

npm i 

Next to run the local server, run:

npm run dev

Backend

Running the Backend

In the backend folder, install all the dependacies with:

pip install -r requirements/dev.txt

Run the application with:

flask run --with-threads

Shell

To open the interactive shell, run ::

flask shell

By default, you will have access to the flask app and models.

Running Tests

To run all tests, run ::

flask test

Migrations

Whenever a database migration needs to be made. Run the following commands ::

flask db migrate

This will generate a new migration script. Then run ::

flask db upgrade

To apply the migration.

For a full migration command reference, run flask db --help.

About

https://bit-next.now.sh


Languages

Language:TypeScript 39.3%Language:CSS 30.9%Language:Python 29.6%Language:JavaScript 0.2%