FreeFeed is a social network that enables you to discover and discuss the interesting stuff your friends find on the web.
FreeFeed is being built as a replacement for FriendFeed, the real-time aggregator and social network where "likes" for user generated content were implemented for the first time.
FreeFeed is based on Pepyatka project
brew install redis
redis-server /usr/local/etc/redis.conf
brew install graphicsmagick
brew install postgres
brew services start postgresql
createuser -P -s freefeed (enter freefeed as password)
createdb -O freefeed freefeed
brew install graphicsmagick
- Install and run Docker
- docker-compose up -d
- Set up JS dependencies:
brew install nvm
brew install yarn
nvm install
yarn install
yarn knex --env production migrate:latest
mkdir ./public/files/attachments/thumbnails/ && mkdir ./public/files/attachments/thumbnails2/
- Create temporary directories for attachments:
mkdir -p /tmp/pepyatka-media/attachments/thumbnails
mkdir -p /tmp/pepyatka-media/attachments/thumbnails2
mkdir -p /tmp/pepyatka-media/attachments/anotherTestSize
-
Create config
config/local.json
with some random secret string:{ "secret": "myverysecretstring" }
. -
Now you are ready to run the FreeFeed server:
yarn start
If you have other PostgreSQL (or any other) settings than default, you should configure FreeFeed server in a proper way.
The FreeFeed server uses node-config for configuration. You can create your own local configuration file to override any of default values. See the Configuration Files page of node-config documentation for details.
The default configuration is defined in config/default.js
file. The config/test.js
and config/default-travis.json
files can be used as an example of customized configurations (for the 'test' and Travis CI environments accordingly).
- Create a Postgres database
freefeed_test
:- if using local Postgres: run locally
createdb -O freefeed freefeed_test
- if using Docker: open a terminal to the Docker container, run Postgres CLI (
psql -U freefeed
), then create the database (create database freefeed_test;
) - or use any other appropriate method such as pgAdmin
- if using local Postgres: run locally
yarn test
make image
docker compose up -d
make docker-run
Get personal access token with write:packages
and read:packages
scopes.
docker login docker.pkg.github.com -u USERNAME -p TOKEN
make push
If you're getting errors related to database structure or relations, run yarn knex --env production migrate:latest
to run migrations
You can drop your question here.
FreeFeed is licensed under the MIT License.