- Ruby
5.1or higher - MySQL installation
- Windows Only Ruby DevKit
x.x.x(required by nokogiri)
bundle install- Set
api-outinavicus.ymlto where you want the classes to go ** NOTE There may be additional configuration you can do in theconfigfolder - Ensure the config in
avicus.ymlanddatabase.ymlis set to your details - Modify details in
config/application.rbto your details :)
- Install required gems with
bundle install - Run the
localhost:3000server viarails s
rails mainfor the websiteraile apifor an api-only website- IMPORTANT NOTES: API will only recieve api requests, main will only accept website related requests meaning /api won't work on main and everything else wont work on api
-e productionto run inproductionmode-b 0.0.0.0to bind server to 0.0.0.0-p 80to run on port 80
- Look through config folder for potential assets/other text you need to change
app/assetsfor logosapps/viewsfor layout modifications
- Follow setup steps first.
- Run
rake graphql:generateto generate the classes. - When the classes are loaded into the IDE, there will be a lot of unneeded imports, simply run Code -> Reformat Code to fix all errors