InstaOunce is our app, inspired by Instagram for uploading, viewing, sharing and commenting of photos. Users can share photos, like them, comment on them and become part of the InstaOunce community.
- Live site: InstaOunce
- Python
- Flask
- SQLAlchemy
- React/JS
- Redux
- Node
- Docker
- Clone this repo: git@github.com/DaneBex/InstaOunce
- cd into the /app directory and install dependencies: pipenv install
- cd into the /react-app directory and install dependencies: npm install
- create .env file based on the .env.example file given
- Create user in psql based on .env DATABASE_URL app_name:
psql -c "CREATE USER <username> PASSWORD '<password>' CREATEDB"
- Create a database in psql based on your .env DATABASE_URL app_db_name
- Start shell, migrate database, seed database and run flask app
pipenv shell
flask db upgrade
flask seed all
flask run
- Open another terminal and cd into /react-app and run the React app:
npm start