Skip to content

egyptian-geeks/website

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
 
 
log
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Website

A website built with ruby on rails to show group posts, analytics and other group related content.

Requirements

  • Ruby 2.6.6
  • Postgresql
  • Nodejs
  • npm
  • Yarn

Installation

  • Install bundler

    gem install bundler
  • Install dependencies

    bundle install
    yarn install
  • import posts, it assumes posts project is cloned in the same directory as this project

    rails db:setup posts:import

Deployment

bin/deploy script will connect to your server with ssh and execute commands on it that pulls the repository and uses docker-compose to pull/build/stop/start the service, usage is as follows:

bin/deploy user@server web

copy .env.sample file to your server and fill in the values, docker compose file will use the path /root/env/egygeeks to load the file, if the env file is not in this path feel free to change the file locally, no need to commit the change as the script runs from your machine.

About

Egyptian geeks website, the utilizes the "posts" dataset

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published