Current - An intelligent platform for scholar newspaper.
/orion
- The backend common libs (user, sessions...)./routes
- The page and API routes./static
- "/static" files/templates
- The templates for the pages.
- Install the dependencies:
pip install -r requirements.txt
- Run the server:
python app.py
(from sources) /python app.pyc
(from compiled) - Open the browser and go to
http://localhost:3000/
- Follow the instructions on the page.
- Enjoy!
Use gunicorn app:app
instead of python ...
to run the server in production.
- Install backend dependencies:
pip install -r requirements.txt
- Install frontend dependencies:
npm install
- Use two windows to run the backend and TailwindCSS watcher:
# Window 1
flask run --debug
# Window 2
bash ./tailwind.sh
- Open the browser and go to
http://localhost:3000/
- Enjoy!
Use bash ./compile.sh
to compile the project.
See Github Actions for automatic compilation.
Sentry is a service that helps you monitor and fix crashes in real time.
The SDK is included in the project, but you need to set parameters in the config.json
manually to enable it.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Made by Dongying No.1 Middle School students.