You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| app | 3 years ago | |
| bin | 3 years ago | |
| config | 3 years ago | |
| db | 3 years ago | |
| lib | 3 years ago | |
| log | 3 years ago | |
| public | 3 years ago | |
| spec | 3 years ago | |
| storage | 3 years ago | |
| tmp | 3 years ago | |
| vendor | 3 years ago | |
| .gitattributes | 3 years ago | |
| .gitignore | 3 years ago | |
| .rspec | 3 years ago | |
| .ruby-version | 3 years ago | |
| Gemfile | 3 years ago | |
| Gemfile.lock | 3 years ago | |
| Guardfile | 3 years ago | |
| Procfile.dev | 3 years ago | |
| README.md | 3 years ago | |
| Rakefile | 3 years ago | |
| config.ru | 3 years ago | |
| package.json | 3 years ago | |
| yarn.lock | 3 years ago | |
README.md
Starting the Dev Server
The development server can be run by executing the dev file in the bin directory.
bin/dev
When running the development server for the first time, the postgres database will need to be created. You can do this by running rails db:create in the project directory.
Dependencies
Posgres
sudo apt install postgresql-all
Then check if postgres is running with
sudo systemctl status postgresql.service
Note: ensure the user you are running postgres as has necessary permissions. They can be added with:
sudo su - postgres
psql # enter postgres console
ALTER USER my_user WITH Superuser;
Added permissions can be confirmed with \du within the psql console.
JavaScript Dependencies
Install JS dependencies with:
yarn install
Guard
Guard is installed and can be run with bundle exec guard