- Install MongoDB on your computer
- Clone the repo
- Install python requirements by using
pip install -r requirements.txt
. It is recomended that you create a virtual environment withpython -m venv venv
to prevent installing packages outside of this project. - Install the frontend requrements by running
npm install
inside of the frontend directory - (Optional) If you want to enable searching text, install mongosh and run these commands:
mongosh
use ideaspot
db.idea.createIndex({title:"text",description:"text"})
If you are on linux/mac and followed the setup instructions correctly, you call the start script with ./start
to start the server. If not follow the instructions below.
- Inside of the main directory, run
python app.py
. Make sure you are in your virtualenv if you used one - Inside of the frontend directory, run
npm start
. You can now interact with the site atlocalhost:3000