Hangin is a clone of LinkedIn that focuses on connecting aerialists and cultivating a community for professional networking and collaboration opportunities.
- React.js/Redux
- SQLAlchemy
- CSS3
- Flask
- Unsplash Image API
- AWS S3
- Go to https://hangin-hangin.herokuapp.com/
- Choose Demo or create an account to connect with other users.
- Users can network by following other users, post images or videos and comment and like other users posts.
-
Clone this repository (only this branch)
git clone https://github.com/mimike/hangIn
-
Install dependencies pip install --dev -r dev-requirements.txt && pip install -r requirements.txt
pipenv install --dev -r dev-requirements.txt && pipenv install -r requirements.txt
-
Create a .env file based on the example with proper settings for your development environment
-
Setup your PostgreSQL user, password and database and make sure it matches your .env file
-
Get into your pipenv, migrate your database, seed your database, and run your flask app
pipenv shell
flask db upgrade
flask seed all
flask run
-
To run the React App in development, checkout the README inside the
react-app
directory.
IMPORTANT! If you add any python dependencies to your pipfiles, you'll need to regenerate your requirements.txt before deployment. You can do this by running:
pipenv lock -r > requirements.txt
ALSO IMPORTANT! psycopg2-binary MUST remain a dev dependency because you can't install it on apline-linux. There is a layer in the Dockerfile that will install psycopg2 (not binary) for us.