Skip to content

bz22/bit-next

 
 

Repository files navigation

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

If you want to run a production version of app, first run:

npm run build

Then run:

npm run start

Backend

Running the Backend

In the backend folder, install all the dependacies with:


pip install -r requirements.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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 36.7%
  • CSS 34.1%
  • Python 26.8%
  • JavaScript 1.2%
  • Ruby 1.2%