A web-based booking platform designed to allow teachers and school staff to book computer devices, rooms, and resources.
The development environment looks to create a consistent devlopment experience across all devices. It can be setup by doing the following:
- Use the
cdcommand to navigate to the root of this project - Install docker-compose via your Linux installs package manager
- Update the
.env.localfile with the correct environment variables - Run
docker-compose upto run docker-compose with atailwatching the log, ordocker-compose up -dto silently start the dev server - Navigate to
127.0.0.1in your browser to access the frontend, or127.0.0.1:3000to access the API
Note, there is currently a bug. The node_modules folder that was generated by docker belongs to root:root. If you want to add any new packages you will need to chown that folder with sudo chown -R $(whoami) node_modules to ensure that you are the proper owner.
Note #2, you can also use this method on Windows but it is significantly slower than running it natively.
- Install yarn via NPM, rails (version specified in backend GemFile), and ruby (version specified in backend GemFile)
- Open the project folder in your IDE of choice
- Install the packages for the frontend by running the
yarncommand in the root of the directory, and install the Gems for the backend by runningbundlein thebackenddirectory - Use the
yarn run devcommand in the root andrails sin thebackenddirectory to start both components of the project