Myplaceonline is your digital home.
Do you feel overwhelmed by information? "When was the last time I had a dentist appointment?" "Where did I put that link?" Myplaceonline helps you organize your thoughts, documents, files, etc.
Remember those things that usually make you smile? Talking to a friend, or blowing bubbles, or hiking a mountain. Myplaceonline helps you do the things that give you joy.
Are you feeling fulfilled? Amongst other things, Myplaceonline can remind you to enter three good things that went okay every day, for which there's evidence this will increase your happiness. Myplaceonline helps you find meaning in the world.
The myplaceonline website is written in Ruby on Rails: https://github.com/myplaceonline/myplaceonline_rails. The phone application is written in jQuery Mobile and PhoneGap, and built using PhoneGap Build: https://github.com/myplaceonline/myplaceonline_phonegap.
Latest Android App in the Google Play Store: https://play.google.com/store/apps/details?id=com.myplaceonline
Latest iOS App in the Apple App Store: https://itunes.apple.com/us/app/myplaceonline/id1148233790
myplaceonline is licensed with the open source AGPL (Affero GPL) v3 license. The AGPL basically means that you may do whatever you want with the code, but if you distribute the code or serve it through a website, share the code either by forking this repository or contributing to it. Pull requests are welcome. Guidelines for contributing: CONTRIBUTE.md
- Prepare your operating system
- Prepare your database
- Download and prepare the source code
- Run the Rails server
sudo dnf install git ruby ruby-devel rubygem-bundler zlib-devel patch nodejs redhat-rpm-config libcurl-devel libxml2-devel ImageMagick-devel magic file-devel sqlite-devel
sudo dnf groupinstall "C Development Tools and Libraries"
- Install Homebrew: https://brew.sh/
brew install gpg
sudo gem install bundler
sudo dnf install postgresql postgresql-server postgresql-devel postgresql-libs
sudo postgresql-setup --initdb --unit postgresql
sudo sed -ri 's/(host all.*)ident/\1password/' /var/lib/pgsql/data/pg_hba.conf
sudo systemctl enable postgresql
sudo systemctl start postgresql
sudo gem install pg
sudo -u postgres psql postgres
postgres=# CREATE ROLE myplaceonline WITH LOGIN ENCRYPTED PASSWORD 'letmein' CREATEDB;
postgres=# ALTER ROLE myplaceonline WITH SUPERUSER;
postgres=# \q
ElasticSearch is not required but highly recommended (for searching, recently used items, etc.):
sudo tee /etc/yum.repos.d/elasticsearch.repo > /dev/null <<'HERE'
[elasticsearch-5.x]
name=Elasticsearch repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
HERE
sudo dnf install elasticsearch
sudo systemctl start elasticsearch
sudo systemctl enable elasticsearch
brew install postgresql imagemagick@6 libmagic
export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"
brew link --force imagemagick@6
sudo gem install rmagick
brew services start postgresql
gem install libxml-ruby -v '3.1.0' -- --with-xml2-include=`xcrun --show-sdk-path`/usr/include/libxml2
psql postgres
postgres=# CREATE ROLE myplaceonline WITH LOGIN ENCRYPTED PASSWORD 'letmein' CREATEDB;
postgres=# ALTER ROLE myplaceonline WITH SUPERUSER;
postgres=# \q
git clone --recursive https://github.com/myplaceonline/myplaceonline.git
cd myplaceonline/src/myplaceonline_rails/
cp config/database.yml.example config/database.yml
# Replace 'letmein' with your database user password created above if you've used something other than 'letmein':
sed -i 's/password: DBPASSWORD/password: letmein/g' config/database.yml
sudo bin/bundle install
# If you want to skip importing some large quantities of unnecessary data like a list of all museums in the U.S., run the following:
export SKIP_LARGE_UNNEEDED_IMPORTS=true
# If you want to skip importing U.S. zip codes (used for location lookups), run the following (not recommended):
#export SKIP_ZIP_CODE_IMPORTS=true
# Now to install everything:
bin/rake db:drop db:create db:schema:load db:seed
# If you plan to do development such as creating new categories, run these two commands one time (https://stackoverflow.com/a/15108735):
#bin/rails console
#ActiveRecord::Base.connection.tables.each { |t| ActiveRecord::Base.connection.reset_pk_sequence!(t) }
If using any engines:
- Clone into
engines/
ln -s engines_config/$ENGINE/Gemfile_engines.lock Gemfile_engines.lock
bin/rails server
$ cd ${MYPLACEONLINESRCDIR}
$ export NAME="Name"
$ export EMAIL="[email protected]"
$ git config --replace-all user.name "${NAME}"
$ git config --replace-all user.email "${EMAIL}"
$ git submodule foreach "git config --replace-all user.name \"${NAME}\""
$ git submodule foreach "git config --replace-all user.email \"${EMAIL}\""
$ git submodule foreach git checkout master
# Optional if using SSH Keys
$ git config url.ssh://[email protected]/.insteadOf https://github.com/
$ git submodule foreach "git config url.ssh://[email protected]/.insteadOf https://github.com/"
‘Happiness’ is too worn and too weary a term to be of much scientific use, and the discipline of Positive Psychology divides it into three very different realms, each of which is measurable and, most importantly, each of which is skill-based and can be taught (Seligman, 2002). The first is hedonic: positive emotion (joy, love, contentment, pleasure etc.). A life led around having as much of this good stuff as possible, is the ‘Pleasant Life’. The second, much closer to what Thomas Jefferson and Aristotle sought, is the state of flow, and a life led around it is the ‘Engaged Life’. Flow, a major part of the Engaged Life, consists in a loss of self-consciousness, time stopping for you, being ‘one with the music’ (Csikszentmihalyi, 1990). Importantly engagement seems to be the opposite of positive emotion: when one is totally absorbed, no thoughts or feelings are present—even though one says afterwards ‘that was fun’ (Delle Fave & Massimini, 2005). And while there are shortcuts to positive emotion—you can take drugs, masturbate, watch television, or go shopping—there are no shortcuts to flow. Flow only occurs when you deploy your highest strengths and talents to meet the challenges that come your way, and it is clear that flow facilitates learning. The third realm in the framework of Positive Psychology is the one with the best intellectual provenance, the Meaningful Life. Flow and positive emotion can be found in solipsistic pursuits, but not meaning or purpose. Meaning is increased through our connections to others, future generations, or causes that transcend the self (Durkheim, 1951/1897; Erikson, 1963). From a Positive Psychology perspective, meaning consists in knowing what your highest strengths are, and then using them to belong to and serve something you believe is larger than the self (Seligman, 2002).
Positive education: positive psychology and classroom interventions, Seligman et al, Oxford Review of Education, 2009, http://www.sas.upenn.edu/~duckwort/images/upperdarbypd/10082012_PDReading.pdf