A web application to manage article submissions that are posted to /r/chadev and the Chadev slack.
More info -> Original ChadevMonster project
These instructions will get you setup with the project and running on your local machine for development and testing purposes.
Note: Built using python 3.8.1 but any version of python 3.6+ should work. You can use something like Pyenv to manage python versions.
- Python 3
- Pip
- Virtualenv or similar (optional)
- PostgreSQL (v10 should work)
source venv/bin/activate
cd chadevmonster
pip install -r requirements/dev.txt
Set this environment variable in your .bashrc or .zshrc
export ENVIRONMENT="dev"
copy/rename config/example-dev.py to config/dev.py
cp config/example-dev.py config/dev.py
./manage.py create_db
./manage.py init_db
./manage.py db upgrade
./manage.py test
./manage.py cov
python run.py
or
flask run
You will need to install vue and make sure you can run Vue UI prior to the next step.
cd ChadevMonsterUI
npm install
vue ui
Once in the Vue UI you will be able to select the project and run the serve
task.
Run the build
command in Vue UI
Files for deployment will be in the dist
folder.