Discover events for engineers in Singapore!
- Fork this GitHub repository.
- Make the changes you need in a new branch.
- Make a Pull Request to this repo.
- Once your Pull Request has been merged, you will see the event on the website.
Run this command in the main folder and follow the prompts:
make create-orgTo abort or exit the script, press Ctrl+C.
Note: If you don't have Make installed, you can run the bash script directly
bash scripts/create-org.sh.
-
Create a new folder for your org. Use underscore ("_") instead of spaces (" ").
mkdir src/content/orgs/<name_of_org>
-
Copy the template into the new folder.
cp docs/org_template.md src/content/orgs/<name_of_org>/index.md
-
Edit the new markdown file with your content.
-
You can also put the image files in your org folder.
Run this command in the main folder and follow the prompts:
make create-eventTo abort or exit the script, press Ctrl+C.
Note: If you don't have Make installed, you can run the bash script directly
bash scripts/create-event.sh.
-
Create a new folder for your org in the events folder. Use underscore ("_") instad of spaces (" ").
mkdir src/content/events/<name_of_org>
Important: Use the same folder name as your org.
-
Create a new event folder with the event name. Use underscore ("_") instad of spaces (" ").
mkdir src/content/events/<name_of_org>/<event_name>
-
Copy the template into the new folder.
cp docs/event_template.md src/content/events/<name_of_org>/<event_name>/index.md
-
Edit the new markdown file with your event details.
-
You can also put the image files in your event folder.
-
Install dependencies
npm install
-
Start the app:
npm run dev
To stop the app, just press
Ctrl+C. -
To test the compilation and build of the website:
npm run build
- Install VSCode and the Dev Containers extension.
- Install Docker Desktop or an alternative.
- Open this repo's folder in VSCode.
- Open the VSCode Command Palette (
ctrl+shift+porCmd+shift+p) and type:reopen in container - Select and press enter on the command.
- VSCode should reopen and build the Devcontainer.
- Once the Devcontainer is ready, you should be able to run all the commands above in VSCode's Terminal window.
This repository is connected to CloudFlare Pages. Any changes made to the main branch will be deployed to the website.