7253a05 Merge branch 'master' of git.sr.ht:~cedric/freshermeat
~cedric pushed to ~cedric/freshermeat git
Freshermeat is an open source software directory and release tracker. Main functionalities are the following:
Freshermeat instance for tracking security-oriented projects: https://open-source-security-software.net
$ sudo apt install postgresql npm
$ git clone https://git.sr.ht/~cedric/freshermeat
$ cd freshermeat/
$ poetry install
$ poetry shell
(freshermeat) $ npm install
(freshermeat) $ export APPLICATION_SETTINGS=development.py
(freshermeat) $ python manager.py db_create
(freshermeat) $ python manager.py db_init
(freshermeat) $ python manager.py create_admin <login> <password>
(freshermeat) $ python manager.py import_projects var/projects.json
(freshermeat) $ python manager.py import_osi_approved_licenses
(freshermeat) $ python runserver.py
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 204-397-194
You can configure the application in instance/development.py
or create
your own file and export it in the variable APPLICATION_SETTINGS
.
Workers are located in the folder freshermeat/workers/ and can be launched periodically with cron.
(freshermeat) $ python manager.py fetch_cves
(freshermeat) $ python manager.py fetch_releases
(freshermeat) $ python manager.py fetch_news
This software is licensed under GNU Affero General Public License version 3
Copyright (C) 2017-2020 Cédric Bonhomme